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

Function getHeaderBack

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

Source from the content-addressed store, hash-verified

171 const title = isEmailLoginScreen ? 'Log in' : listTitle;
172
173 const getHeaderBack = () => {
174 if (isEmailLoginScreen) {
175 return hasTopBarBack ? undefined : () => setIsEmailLogin(false);
176 }
177
178 return simplified ? undefined : onHeaderBack;
179 };
180
181 const getForm = () => {
182 if (isEmailLoginScreen || (disableRegistration && !disablePassword)) {

Callers 1

AuthDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected