We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 86c4845 commit 3023dcdCopy full SHA for 3023dcd
www/src/pages/extensions/themes/index.tsx
@@ -21,7 +21,7 @@ export const ThemesAllDoc = () => {
21
});
22
const [selectTheme, setSelectTheme] = useState<keyof typeof themesData>();
23
const theme = useTheme();
24
- const themeCurrent = themesData[selectTheme!] ? themesData[selectTheme!] : theme;
+ const themeCurrent = themesData[selectTheme!] ? themesData[selectTheme!] : theme.theme;
25
const changeHandle = (ev: React.ChangeEvent<HTMLSelectElement>) => {
26
setSelectTheme(ev.target.value as keyof typeof themesData);
27
};
0 commit comments