Skip to content

Commit 3023dcd

Browse files
committedDec 29, 2022
website: fix themes all error.
1 parent 86c4845 commit 3023dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎www/src/pages/extensions/themes/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const ThemesAllDoc = () => {
2121
});
2222
const [selectTheme, setSelectTheme] = useState<keyof typeof themesData>();
2323
const theme = useTheme();
24-
const themeCurrent = themesData[selectTheme!] ? themesData[selectTheme!] : theme;
24+
const themeCurrent = themesData[selectTheme!] ? themesData[selectTheme!] : theme.theme;
2525
const changeHandle = (ev: React.ChangeEvent<HTMLSelectElement>) => {
2626
setSelectTheme(ev.target.value as keyof typeof themesData);
2727
};

0 commit comments

Comments
 (0)
Please sign in to comment.