From 924fc1687b2cf2a570a19bd0bb4b338b9dcc8a1c Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Thu, 13 Jun 2024 15:29:55 +0200 Subject: [PATCH] CYS: avoid flickering image loading screen (#48460) * CYS: avoid flickering image loading screen * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions --- .../customize-store/design-with-ai/pages/ApiCallLoader.tsx | 4 ++-- .../customize-store/design-without-ai/pages/ApiCallLoader.tsx | 4 ++-- .../changelog/48460-fix-improve-flickering-loading-image | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 plugins/woocommerce/changelog/48460-fix-improve-flickering-loading-image diff --git a/plugins/woocommerce-admin/client/customize-store/design-with-ai/pages/ApiCallLoader.tsx b/plugins/woocommerce-admin/client/customize-store/design-with-ai/pages/ApiCallLoader.tsx index c000aa18f5f..12f891beb16 100644 --- a/plugins/woocommerce-admin/client/customize-store/design-with-ai/pages/ApiCallLoader.tsx +++ b/plugins/woocommerce-admin/client/customize-store/design-with-ai/pages/ApiCallLoader.tsx @@ -138,8 +138,8 @@ export const ApiCallLoader = () => { }, 0 ); } } > - { augmentedSteps.map( ( step, index ) => ( - + { augmentedSteps.map( ( step ) => ( + { step.image } diff --git a/plugins/woocommerce-admin/client/customize-store/design-without-ai/pages/ApiCallLoader.tsx b/plugins/woocommerce-admin/client/customize-store/design-without-ai/pages/ApiCallLoader.tsx index 5416d739d5c..71e85d946c7 100644 --- a/plugins/woocommerce-admin/client/customize-store/design-without-ai/pages/ApiCallLoader.tsx +++ b/plugins/woocommerce-admin/client/customize-store/design-without-ai/pages/ApiCallLoader.tsx @@ -87,8 +87,8 @@ export const ApiCallLoader = () => { }, 0 ); } } > - { augmentedSteps.map( ( step, index ) => ( - + { augmentedSteps.map( ( step ) => ( + { step.image } diff --git a/plugins/woocommerce/changelog/48460-fix-improve-flickering-loading-image b/plugins/woocommerce/changelog/48460-fix-improve-flickering-loading-image new file mode 100644 index 00000000000..e094464f456 --- /dev/null +++ b/plugins/woocommerce/changelog/48460-fix-improve-flickering-loading-image @@ -0,0 +1,4 @@ +Significance: patch +Type: tweak +Comment: CYS: avoid flickering image loading screen. +