mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 23:16:52 +00:00
fix 遮罩和切换主题
This commit is contained in:
@@ -26,8 +26,7 @@ const Index = props => {
|
||||
const loadLayout = async () => {
|
||||
setLayoutIndex(dynamic(() => import(`@/themes/${theme}/LayoutIndex`)))
|
||||
}
|
||||
console.log(loadLayout)
|
||||
// loadLayout()
|
||||
loadLayout()
|
||||
}, [theme])
|
||||
|
||||
return <Suspense fallback={<Loading/>}>
|
||||
|
||||
Reference in New Issue
Block a user