Skip to content

Commit 58431ce

Browse files
committed
fixed sign up redirection
1 parent 46a27e9 commit 58431ce

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

apps/ssc/app/(auth)/register/steps/registerStepThird.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ export const RegisterStepThird = () => {
1313
ثبت نام شما با موفقیت انجام شد
1414
</p>
1515
<div className="w-full flex flex-col items-center gap-2.5 px-8 py-4">
16-
<Link href={{ href: "/login", query: params.toString() }}>
16+
<Link
17+
href={{
18+
pathname: "/login",
19+
query: Object.fromEntries(params.entries()),
20+
}}
21+
>
1722
<Button
1823
className="w-full"
1924
variant={ButtonVariant.PRIMARY}

0 commit comments

Comments
 (0)