diff --git a/packages/codegen-ui-react/lib/__tests__/utils/__snapshots__/render-util-functions.test.ts.snap b/packages/codegen-ui-react/lib/__tests__/utils/__snapshots__/render-util-functions.test.ts.snap index 4f331913..7a7e80ac 100644 --- a/packages/codegen-ui-react/lib/__tests__/utils/__snapshots__/render-util-functions.test.ts.snap +++ b/packages/codegen-ui-react/lib/__tests__/utils/__snapshots__/render-util-functions.test.ts.snap @@ -1317,7 +1317,6 @@ export const useAuth = () => { const attributes = await fetchUserAttributes(); setResult({ user: { attributes }, isLoading: false }); } catch (error) { - console.log({ error }); setResult({ error, isLoading: false }); } }, []); diff --git a/packages/codegen-ui-react/lib/utils-file-functions/hooks/useAuth.ts b/packages/codegen-ui-react/lib/utils-file-functions/hooks/useAuth.ts index f034481b..6e7c0e95 100644 --- a/packages/codegen-ui-react/lib/utils-file-functions/hooks/useAuth.ts +++ b/packages/codegen-ui-react/lib/utils-file-functions/hooks/useAuth.ts @@ -27,7 +27,6 @@ export const useAuthString = `export const useAuth = () => { const attributes = await fetchUserAttributes(); setResult({ user: {attributes}, isLoading: false }); } catch (error) { - console.log({error}); setResult({ error, isLoading: false }); } }, []);