This commit is contained in:
tangly1024
2023-07-07 21:37:54 +08:00
parent 8508dfaf45
commit e1808dd608
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ const DebugPanel = () => {
const [siteConfig, updateSiteConfig] = useState({})
// 主题下拉框
const themeOptions = THEMES.map(t => ({ value: t, text: t }))
const themeOptions = THEMES?.map(t => ({ value: t, text: t }))
useEffect(() => {
updateSiteConfig(Object.assign({}, BLOG))