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

Function toggleLogin

packages/shared/src/components/auth/AuthDefault.tsx:152–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 };
151
152 const toggleLogin = () => {
153 focusFirstSocialLink();
154 setIsEmailLogin(false);
155 setShouldLogin(!shouldLogin);
156 };
157
158 const isInitialMode =
159 initialLoginFlow === undefined || !!shouldLogin === initialLoginFlow;

Callers

nothing calls this directly

Calls 1

focusFirstSocialLinkFunction · 0.85

Tested by

no test coverage detected