Skip to content

Commit 646783e

Browse files
Merge pull request #2661 from Codeinwp/bugfix/2660
Fixed FSE onboarding
2 parents 52b9b8d + 1d3b8b2 commit 646783e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/onboarding/components/steps/Appearance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const Appearance = () => {
5757
return 'default';
5858
}
5959

60-
const foundStyle = themeStyles.find( style =>
60+
const foundStyle = themeStyles?.find( style =>
6161
fastDeepEqual( globalStyle?.styles, style?.styles || {}) &&
6262
fastDeepEqual( globalStyle?.settings, style?.settings )
6363
);
@@ -110,7 +110,7 @@ const Appearance = () => {
110110
onSelect={ () => onSelect( 'default' ) }
111111
/>
112112

113-
{ themeStyles.map( ( style, index ) => (
113+
{ themeStyles?.map( ( style, index ) => (
114114
<PalettePreview
115115
key={ index }
116116
title={ style.title }

0 commit comments

Comments
 (0)