mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 01:15:47 +01:00
⬆️ Upgrade 404 page for NextJS latest
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user