This commit is contained in:
tangly1024
2022-03-15 17:40:09 +08:00
parent f1cf1dad37
commit 2396e3762a

View File

@@ -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