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 <github-actions@github.com>
This commit is contained in:
Luigi Teschio 2024-06-13 15:29:55 +02:00 committed by GitHub
parent c76438906b
commit 924fc1687b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View File

@ -138,8 +138,8 @@ export const ApiCallLoader = () => {
}, 0 );
} }
>
{ augmentedSteps.map( ( step, index ) => (
<Loader.Layout key={ index }>
{ augmentedSteps.map( ( step ) => (
<Loader.Layout key={ step.title }>
<Loader.Illustration>
{ step.image }
</Loader.Illustration>

View File

@ -87,8 +87,8 @@ export const ApiCallLoader = () => {
}, 0 );
} }
>
{ augmentedSteps.map( ( step, index ) => (
<Loader.Layout key={ index }>
{ augmentedSteps.map( ( step ) => (
<Loader.Layout key={ step.title }>
<Loader.Illustration>
{ step.image }
</Loader.Illustration>

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Comment: CYS: avoid flickering image loading screen.