diff --git a/apps/client/pages/_app.tsx b/apps/client/pages/_app.tsx index 785b254f..4fde4633 100644 --- a/apps/client/pages/_app.tsx +++ b/apps/client/pages/_app.tsx @@ -33,7 +33,7 @@ Sentry.init({ }) // Providers and components only relevant to a logged-in user -const WithAuth = function ({ children }: PropsWithChildren) { +const WithAuth = withAuthenticationRequired(function ({ children }: PropsWithChildren) { return ( @@ -46,7 +46,7 @@ const WithAuth = function ({ children }: PropsWithChildren) { ) -} +}) export default function App({ Component: Page,