Skip to content

Commit 81cb32e

Browse files
committed
fix: revert theme logic to perfectly match sibling editor components
Signed-off-by: tirth707 <ptirth2206@gmail.com>
1 parent cba3730 commit 81cb32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editors/ConcertoEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default function ConcertoEditor({ value, onChange }: ConcertoEditorProps)
106106
);
107107

108108
const themeName = useMemo(
109-
() => (backgroundColor === "#121212" ? "darkTheme" : "lightTheme"),
109+
() => (backgroundColor ? "darkTheme" : "lightTheme"),
110110
[backgroundColor]
111111
);
112112

0 commit comments

Comments
 (0)