diff --git a/web/lib/providers/jazz-provider.tsx b/web/lib/providers/jazz-provider.tsx index c7d27305..467d2e8e 100644 --- a/web/lib/providers/jazz-provider.tsx +++ b/web/lib/providers/jazz-provider.tsx @@ -26,19 +26,14 @@ export function JazzAndAuth({ children }: ChildrenProps) { export function JazzAuth({ children }: ChildrenProps) { const clerk = useClerk() const { isLoaded } = useAuth() - const [authMethod, state] = useJazzClerkAuth(clerk) + const [authMethod] = useJazzClerkAuth(clerk) if (!isLoaded) return null return ( - <> - {state.errors.map((error: string) => ( -
{error}
- ))} - - {children} - - + + {children} + ) }