Format code

This commit is contained in:
DefectingCat
2023-01-10 17:58:58 +08:00
parent 2177ac0a93
commit b5e85e9665

View File

@ -9,7 +9,7 @@ const DarkModeBtn = () => {
const { systemTheme, theme, setTheme } = useTheme();
const currentTheme = theme === 'system' ? systemTheme : theme;
if (!mounted)
if (!mounted) {
return (
<button>
<div
@ -20,6 +20,7 @@ const DarkModeBtn = () => {
></div>
</button>
);
}
return (
<>