feat(app): improve payment and paywall UX
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
*/
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
import { BackButton } from "@/app/_components";
|
||||
import { useAuthDispatch, useAuthState } from "@/stores/auth/auth-context";
|
||||
|
||||
import { AuthBackButton } from "./auth-back-button";
|
||||
import { AuthEmailPanel } from "./auth-email-panel";
|
||||
import { AuthFacebookPanel } from "./auth-facebook-panel";
|
||||
import styles from "./auth-panel.module.css";
|
||||
@@ -31,7 +31,7 @@ export function AuthPanel() {
|
||||
|
||||
return (
|
||||
<div className={styles.panelShell}>
|
||||
<AuthBackButton onClick={handleBack} />
|
||||
<BackButton onClick={handleBack} />
|
||||
|
||||
{state.authPanelMode === "facebook" ? (
|
||||
<AuthFacebookPanel onSwitchToEmail={switchToEmail} />
|
||||
|
||||
Reference in New Issue
Block a user