We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d70192 commit 9b7fd08Copy full SHA for 9b7fd08
apps/web/pages/404.tsx
@@ -1,7 +1,7 @@
1
import Link from "next/link";
2
import { ROUTES } from "../data/routes.data";
3
4
-export default function FourOhFour() {
+function FourOhFour() {
5
return (
6
<div className="bg-white min-h-full px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8">
7
<div className="max-w-max mx-auto">
@@ -39,3 +39,9 @@ export default function FourOhFour() {
39
</div>
40
);
41
}
42
+
43
+FourOhFour.getInitialProps = () => {
44
+ return { statusCode: 404 };
45
+};
46
47
+export default FourOhFour;
0 commit comments