import { NextPageContext } from 'next' import Head from 'next/head' import Link from 'next/link' interface ErrorProps { statusCode: number } function Error({ statusCode }: ErrorProps) { return (
{statusCode ? `A ${statusCode} error occurred on the server.` : 'An error occurred on the client.'}
Go Home