Skip to content

Commit

Permalink
🔨 chore: add custom error page
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Feb 5, 2022
1 parent faef2e9 commit c714aab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/client/src/pages/_error.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { Button } from "components/Button";
import { useRouter } from "next/router";

function ErrorPage({ statusCode }: any) {
const router = useRouter();

function handleReload() {
router.reload();
window.location.reload();
}

return (
Expand Down

0 comments on commit c714aab

Please sign in to comment.