From 0eb295fdaa43a2a1f66d4e3de165686f0f754928 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Mon, 26 Aug 2024 14:30:04 +0200 Subject: [PATCH] feat(SW-307): Removed unnecessary param --- components/Forms/Edit/Profile/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Forms/Edit/Profile/index.tsx b/components/Forms/Edit/Profile/index.tsx index 3da12068c..317fa2066 100644 --- a/components/Forms/Edit/Profile/index.tsx +++ b/components/Forms/Edit/Profile/index.tsx @@ -90,7 +90,7 @@ export default function Form({ user }: EditFormProps) { toast.success(response.message) utils.user.get.invalidate() if (isPasswordChanged) { - router.push(logout[lang] + "?redirectTo=%2Flogin%3Fuppd%3D1") + router.push(logout[lang]) } else { router.push(profile[lang]) }