Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update page-client.tsx

Kiran K563813b6d481
diff --git a/apps/web/app/app.dub.co/(auth)/register/page-client.tsx b/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
index 223e246bce..3050973e0b 100644
--- a/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
+++ b/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
@@ -18,10 +18,11 @@ export default function RegisterPageClient() {
const RegisterFlow = () => {
const { step } = useRegisterContext();
- return (
- <>
- {step === "signup" && <SignUpForm />}
- {step === "verify" && <VerifyEmailForm />}
- </>
- );
+ if (step === "signup") {
+ return <SignUpForm />;
+ }
+
+ if (step === "verify") {
+ return <VerifyEmailForm />;
+ }
};