⬆️ Upgrade 404 page for NextJS latest

This commit is contained in:
Thomas "ajnart" Camlong
2022-07-22 13:16:06 +02:00
parent ed72ab6ec7
commit d2eb31f510

View File

@@ -58,7 +58,7 @@ const useStyles = createStyles((theme) => ({
}, },
})); }));
export function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) { function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) {
const theme = useMantineTheme(); const theme = useMantineTheme();
return ( return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 362 145" {...props}> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 362 145" {...props}>
@@ -70,7 +70,7 @@ export function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) {
); );
} }
export default function NothingFoundBackground() { export default function Custom404() {
const { classes } = useStyles(); const { classes } = useStyles();
return ( return (