From 53dd20873d65c4534babd1bba4c68719d2168a76 Mon Sep 17 00:00:00 2001 From: sutterj Date: Wed, 12 Jun 2024 13:00:57 -0400 Subject: [PATCH] feat: add button on unauth page - user currently has no action from unauth page - this button takes them back to sign in page --- src/app/auth/error/page.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/app/auth/error/page.tsx b/src/app/auth/error/page.tsx index 25b8c71..cd61829 100644 --- a/src/app/auth/error/page.tsx +++ b/src/app/auth/error/page.tsx @@ -1,9 +1,12 @@ 'use client' import { MarkGithubIcon } from '@primer/octicons-react' -import { Box, Octicon, Text } from '@primer/react' +import { Box, Button, Octicon, Text } from '@primer/react' +import { useRouter } from 'next/navigation' const ErrorPage = () => { + const router = useRouter() + return ( { + + + )