mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 15:09:34 +00:00
debug-panel , fix sth
This commit is contained in:
@@ -29,10 +29,9 @@ export function DebugPanel() {
|
||||
}
|
||||
|
||||
function handleChangeDebugTheme() {
|
||||
switchTheme()
|
||||
updateThemeConfig(Object.assign({}, ThemeMap[theme].THEME_CONFIG))
|
||||
updateDebugTheme(theme)
|
||||
console.log('更换主题', debugTheme)
|
||||
const newTheme = switchTheme()
|
||||
updateThemeConfig(Object.assign({}, ThemeMap[newTheme].THEME_CONFIG))
|
||||
updateDebugTheme(newTheme)
|
||||
}
|
||||
|
||||
function handleUpdateDebugTheme(e) {
|
||||
|
||||
Reference in New Issue
Block a user