mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
build
This commit is contained in:
@@ -7,8 +7,10 @@ import * as ThemeMap from '@/themes'
|
||||
* @constructor
|
||||
*/
|
||||
|
||||
export default function Custom404 (props) {
|
||||
const Custom404 = (props) => {
|
||||
const { theme } = useGlobal()
|
||||
const ThemeComponents = ThemeMap[theme]
|
||||
return <ThemeComponents.Layout404 {...props}/>
|
||||
}
|
||||
|
||||
export default Custom404
|
||||
|
||||
Reference in New Issue
Block a user