mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 07:26:49 +00:00
Webpack优化动态主题加载
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useGlobal } from '@/lib/global'
|
||||
import { saveDarkModeToCookies } from '@/lib/theme'
|
||||
import { saveDarkModeToCookies } from '@/themes/theme'
|
||||
|
||||
const DarkModeButton = (props) => {
|
||||
const { isDarkMode, updateDarkMode } = useGlobal()
|
||||
|
||||
Reference in New Issue
Block a user