From b15ef1d8b09e75da3ecdde6a2b11d311a229b806 Mon Sep 17 00:00:00 2001 From: Mihai C <34626017+mihaic195@users.noreply.github.com> Date: Fri, 2 Jul 2021 13:32:27 +0300 Subject: [PATCH] Update pages/settings/teams.tsx Co-authored-by: Bailey Pumfleet --- pages/settings/teams.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/settings/teams.tsx b/pages/settings/teams.tsx index 74132d38..d74c8ddd 100644 --- a/pages/settings/teams.tsx +++ b/pages/settings/teams.tsx @@ -169,7 +169,7 @@ export default function Teams() { } // Export the `session` prop to use sessions with Server Side Rendering -export const getServerSideProps: GetServerSideProps<{session: Session | null}> = async (context) => { +export const getServerSideProps: GetServerSideProps<{ session: Session | null }> = async (context) => { const session = await getSession(context); if (!session) { return { redirect: { permanent: false, destination: '/auth/login' } };