From 829f9882b079e3809ce2ccc78b5c706e390ff82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D0=B0=D1=82=D0=B0?= =?UTF-8?q?=D0=B5=D0=B2?= Date: Fri, 15 Dec 2023 17:33:50 +0000 Subject: [PATCH] fix: payPal redirect --- src/components/SubPlanInformation/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SubPlanInformation/index.tsx b/src/components/SubPlanInformation/index.tsx index da73452..15509f2 100644 --- a/src/components/SubPlanInformation/index.tsx +++ b/src/components/SubPlanInformation/index.tsx @@ -71,7 +71,7 @@ function SubPlanInformation({ return setErrors("Something went wrong. Please try again later."); } setIsLoading(false); - window.open(link.href, "_blank"); + window.location.href = link.href; }; return (