dc88650d6d
* remove pnpm lock file (should only be using yarn) * Add lefthook configuration for pre-commit checks * Add explorer-v2 to package.json dependencies * add explorer v2 * update explorer v2 package name * + basepath + redirect to basepath + blog icons refactor + icons refactor * Add Getting Started instructions to README * fix noise graph bug and line graph UI * Delete unused translations, clean up console logs * / test image url * update yarn.lock --------- Co-authored-by: RadekSabacky <radek@nymtech.net> Co-authored-by: windy-ux <75579979+windy-ux@users.noreply.github.com> Co-authored-by: Yana <iana.matrosova@gmail.com> Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
28 lines
787 B
TypeScript
28 lines
787 B
TypeScript
"use client";
|
|
|
|
import { ContentLayout } from "@/components/contentLayout/ContentLayout";
|
|
import { Link } from "@/components/muiLink";
|
|
import { Button, Stack, Typography } from "@mui/material";
|
|
|
|
const ErrorPage = ({ error }: { error: Error }) => {
|
|
return (
|
|
<ContentLayout>
|
|
<Stack spacing={2} justifyContent="flex-start">
|
|
<Typography variant="body1">
|
|
An error occurred: {error.message}
|
|
</Typography>
|
|
<Typography variant="body2">
|
|
Please try again later or contact support
|
|
</Typography>
|
|
<Link href="/" underline="none">
|
|
<Button variant="contained" sx={{ maxWidth: 100 }} size="small">
|
|
Home
|
|
</Button>
|
|
</Link>
|
|
</Stack>
|
|
</ContentLayout>
|
|
);
|
|
};
|
|
|
|
export default ErrorPage;
|