diff --git a/src/app/AuthRedirect.tsx b/src/app/AuthRedirect.tsx index 53991f4..a441fbd 100644 --- a/src/app/AuthRedirect.tsx +++ b/src/app/AuthRedirect.tsx @@ -13,5 +13,5 @@ export default async function AuthRedirect({ children }: StrictPropsWithChildren redirect('/login'); } - return { children }; + return <>{children}; }