import Area from '@components/common/Area.js';
import { Button } from '@components/common/ui/Button.js';
import React from 'react';
function Name() {
return (
404 Page Not Found
);
}
interface ContentProps {
dashboardUrl: string;
}
function Content({ dashboardUrl }: ContentProps) {
return (
The page you requested does not exist.
(window.location.href = dashboardUrl)}
variant={'default'}
>
Back To Dashboard
);
}
export default function NotFound({ dashboardUrl }: ContentProps) {
return (
);
}
export const layout = {
areaId: 'content',
sortOrder: 10
};
export const query = `
query Query {
dashboardUrl: url(routeId: "dashboard")
}
`;