diff --git a/src/components/GobanThemePicker/GobanThemePicker.tsx b/src/components/GobanThemePicker/GobanThemePicker.tsx index c5078ded43..021a4014ce 100644 --- a/src/components/GobanThemePicker/GobanThemePicker.tsx +++ b/src/components/GobanThemePicker/GobanThemePicker.tsx @@ -107,7 +107,7 @@ export function GobanBoardThemePicker(props: GobanThemePickerProperties): JSX.El style={theme.styles} onClick={selectTheme.current[theme.theme_name]} > - + {canvases.current[idx] && } ))} @@ -173,7 +173,7 @@ export function GobanCustomBoardPicker(props: GobanThemePickerProperties): JSX.E style={theme.styles} onClick={() => setBoard("Custom")} > - + {sample_canvas && } @@ -353,7 +353,9 @@ export function GobanWhiteThemePicker(props: GobanThemePickerProperties): JSX.El }} onClick={selectTheme.current[theme.theme_name]} > - + {canvases.current[idx] && ( + + )} ))} @@ -550,7 +552,9 @@ export function GobanBlackThemePicker(props: GobanThemePickerProperties): JSX.El }} onClick={selectTheme.current[theme.theme_name]} > - + {canvases.current[idx] && ( + + )} ))}