diff --git a/components/ThemeSwitch.js b/components/ThemeSwitch.js index 7ff3d40f..6816de4d 100644 --- a/components/ThemeSwitch.js +++ b/components/ThemeSwitch.js @@ -3,6 +3,7 @@ import React from 'react' import { Draggable } from './Draggable' import { THEMES } from '@/themes/theme' import { useRouter } from 'next/router' +import DarkModeButton from './DarkModeButton' /** * * @returns 主题切换 @@ -22,9 +23,10 @@ const ThemeSwitch = () => { return (<> -
+
- {THEMES?.map(t => { return })}