From fbdd4163831de5d5418354f09b42b3be714d0098 Mon Sep 17 00:00:00 2001 From: behnaz-deriv Date: Fri, 16 Feb 2024 15:18:48 +0800 Subject: [PATCH 1/3] chore: url lead to deriv.com --- src/pages/signup-affiliates/components/_signup-status.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/signup-affiliates/components/_signup-status.tsx b/src/pages/signup-affiliates/components/_signup-status.tsx index 9f193ad23fb..a61c896ef34 100644 --- a/src/pages/signup-affiliates/components/_signup-status.tsx +++ b/src/pages/signup-affiliates/components/_signup-status.tsx @@ -131,7 +131,7 @@ const AffiliateSignupStatus = ({ const handleSuccess = useCallback((action: 'close_wizard' | 'success_popup_cta') => { trackEvent({ action }) - window.location.href = 'https://deriv.com/partners/' + window.location.href = 'https://deriv.com/' }, []) const handleIssue = useCallback(() => { From 00577542f4f0d87803302370c17baa985a262e57 Mon Sep 17 00:00:00 2001 From: behnaz-deriv Date: Fri, 16 Feb 2024 15:30:57 +0800 Subject: [PATCH 2/3] chore: url lead to affiliate-ib --- src/pages/signup-affiliates/components/_signup-status.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/signup-affiliates/components/_signup-status.tsx b/src/pages/signup-affiliates/components/_signup-status.tsx index a61c896ef34..c19198a5450 100644 --- a/src/pages/signup-affiliates/components/_signup-status.tsx +++ b/src/pages/signup-affiliates/components/_signup-status.tsx @@ -131,7 +131,7 @@ const AffiliateSignupStatus = ({ const handleSuccess = useCallback((action: 'close_wizard' | 'success_popup_cta') => { trackEvent({ action }) - window.location.href = 'https://deriv.com/' + window.location.href = ' https://deriv.com/partners/affiliate-ib/ ' }, []) const handleIssue = useCallback(() => { From dd9a442c2fc17f6ffc9b707dba415c05e0578668 Mon Sep 17 00:00:00 2001 From: behnaz-deriv Date: Fri, 16 Feb 2024 16:08:51 +0800 Subject: [PATCH 3/3] chore: remove the extra space --- src/pages/signup-affiliates/components/_signup-status.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/signup-affiliates/components/_signup-status.tsx b/src/pages/signup-affiliates/components/_signup-status.tsx index c19198a5450..1fad3633185 100644 --- a/src/pages/signup-affiliates/components/_signup-status.tsx +++ b/src/pages/signup-affiliates/components/_signup-status.tsx @@ -131,7 +131,7 @@ const AffiliateSignupStatus = ({ const handleSuccess = useCallback((action: 'close_wizard' | 'success_popup_cta') => { trackEvent({ action }) - window.location.href = ' https://deriv.com/partners/affiliate-ib/ ' + window.location.href = ' https://deriv.com/partners/affiliate-ib/' }, []) const handleIssue = useCallback(() => {