MCPcopy Create free account
hub / github.com/dailydotdev/apps / renderAuthAction

Function renderAuthAction

packages/shared/src/components/auth/AuthSignBack.tsx:83–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 const renderAuthAction = () => {
84 if (provider === 'password') {
85 if (!loginFormProps) {
86 return null;
87 }
88
89 return (
90 <LoginForm
91 {...loginFormProps}
92 aboveFooter={!simplified}
93 email={loginFormProps.email ?? signBack.email}
94 />
95 );
96 }
97
98 if (!socialProvider) {
99 return null;
100 }
101
102 return (
103 <SignBackButton
104 disabled={isProviderLoading}
105 signBack={signBack}
106 provider={socialProvider}
107 onClick={handleProviderClick}
108 />
109 );
110 };
111
112 return (
113 <span className="flex flex-1 flex-col">

Callers 1

AuthSignBackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected