From 8fa46b45e7c4fa7383fc4cb8d62b48cd29b4383f Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Fri, 26 Jan 2024 18:24:54 -0500 Subject: [PATCH] Update effects to callbacks --- .../themes/wporg-showcase-2022/src/site-screenshot/render.php | 4 ++-- .../themes/wporg-showcase-2022/src/site-screenshot/view.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php b/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php index 1cab7bfc..5db0191f 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php +++ b/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php @@ -99,8 +99,8 @@
diff --git a/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/view.js b/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/view.js index f735ae7c..c6eadd7d 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/view.js +++ b/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/view.js @@ -68,7 +68,7 @@ const { actions, state } = store( 'wporg/showcase/screenshot', { } }, }, - effects: { + callbacks: { // Run on init, starts the image fetch process. *init() { const { isMShots, src } = getContext();