Refactored exports.

This commit is contained in:
Mike Cao 2023-04-21 08:00:42 -07:00
parent 1baf4d5571
commit 8bddc666b4
110 changed files with 317 additions and 124 deletions

View file

@ -5,7 +5,7 @@ import Sun from 'assets/sun.svg';
import Moon from 'assets/moon.svg';
import styles from './ThemeSetting.module.css';
export default function ThemeSetting() {
export function ThemeSetting() {
const [theme, setTheme] = useTheme();
return (
@ -29,3 +29,5 @@ export default function ThemeSetting() {
</div>
);
}
export default ThemeSetting;