We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52b9b8d + 1d3b8b2 commit 646783eCopy full SHA for 646783e
src/onboarding/components/steps/Appearance.js
@@ -57,7 +57,7 @@ const Appearance = () => {
57
return 'default';
58
}
59
60
- const foundStyle = themeStyles.find( style =>
+ const foundStyle = themeStyles?.find( style =>
61
fastDeepEqual( globalStyle?.styles, style?.styles || {}) &&
62
fastDeepEqual( globalStyle?.settings, style?.settings )
63
);
@@ -110,7 +110,7 @@ const Appearance = () => {
110
onSelect={ () => onSelect( 'default' ) }
111
/>
112
113
- { themeStyles.map( ( style, index ) => (
+ { themeStyles?.map( ( style, index ) => (
114
<PalettePreview
115
key={ index }
116
title={ style.title }
0 commit comments