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

Function renderAuthAction

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

Source from the content-addressed store, hash-verified

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

Callers 1

AuthSignBackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected