diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 465c41b..1f58631 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -62,7 +62,7 @@ const Home: NextPage = () => {
Log in diff --git a/src/pages/videos.tsx b/src/pages/videos.tsx index b8e69a4..51b6568 100644 --- a/src/pages/videos.tsx +++ b/src/pages/videos.tsx @@ -17,7 +17,7 @@ const VideoList: NextPage = () => { const { data: videos, isLoading } = api.video.getAll.useQuery(); if (status === "unauthenticated") { - void router.push("/sign-in"); + void router.replace("/sign-in"); } return (