fix(auth): enable dev email login testing
This commit is contained in:
@@ -18,6 +18,8 @@ export function AuthPanel() {
|
||||
|
||||
const switchToFacebook = () =>
|
||||
dispatch({ type: "AuthPanelModeChanged", mode: "facebook" });
|
||||
const switchToEmail = () =>
|
||||
dispatch({ type: "AuthPanelModeChanged", mode: "email" });
|
||||
|
||||
const handleBack = () => {
|
||||
if (state.authPanelMode === "email") {
|
||||
@@ -32,7 +34,7 @@ export function AuthPanel() {
|
||||
<AuthBackButton onClick={handleBack} />
|
||||
|
||||
{state.authPanelMode === "facebook" ? (
|
||||
<AuthFacebookPanel />
|
||||
<AuthFacebookPanel onSwitchToEmail={switchToEmail} />
|
||||
) : (
|
||||
<AuthEmailPanel
|
||||
onSwitchToFacebook={() => {
|
||||
|
||||
Reference in New Issue
Block a user