From d2eb31f510eaf43a67ea41662504273f1a31f68f Mon Sep 17 00:00:00 2001 From: "Thomas \"ajnart\" Camlong" Date: Fri, 22 Jul 2022 13:16:06 +0200 Subject: [PATCH] :arrow_up: Upgrade 404 page for NextJS latest --- src/pages/404.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/404.tsx b/src/pages/404.tsx index a98ece27d..b0d0b5de1 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -58,7 +58,7 @@ const useStyles = createStyles((theme) => ({ }, })); -export function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) { +function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) { const theme = useMantineTheme(); return ( @@ -70,7 +70,7 @@ export function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) { ); } -export default function NothingFoundBackground() { +export default function Custom404() { const { classes } = useStyles(); return (