Skip to content

Commit

Permalink
Merge pull request #14 from mayuran-deriv/mayuran/fix-redirection
Browse files Browse the repository at this point in the history
fix: redirection
  • Loading branch information
habib-deriv authored Jul 25, 2024
2 parents b9ed0b2 + 6844156 commit f27dce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react'
import Layout from 'features/components/templates/layout'
import { signup_success_wrapper, signup_success_description } from './signup-success.module.scss'
import StaticNav from 'features/components/templates/navigation/static-nav'
import Flex from 'features/components/atoms/flex-box'
import Typography from 'features/components/atoms/typography'
import { Localize } from 'components/localization'
import SignupImage from 'images/common/sign-up/response-email.png'
import Image from 'features/components/atoms/image'
import Link from 'features/components/atoms/link'
import { BuildVariantType } from 'features/types'
import AcademyNav from 'features/components/templates/navigation/academy-nav'

type SignupProps = BuildVariantType & {
email?: string
Expand All @@ -17,7 +17,7 @@ type SignupProps = BuildVariantType & {
const SignUpSuccessContainer = ({ email, region }: SignupProps) => {
return (
<Layout region={region}>
<StaticNav />
<AcademyNav />
<Flex.Box
container="fluid"
direction="col"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const AffiliateSignupStatus = ({

const handleSuccess = useCallback((action: 'close_wizard' | 'success_popup_cta') => {
trackEvent({ action })
window.location.href = 'https://signup.deriv.com/signup-affiliates/'
window.location.href = 'https://deriv.com/partners/affiliate-ib'
}, [])

const handleIssue = useCallback(() => {
Expand Down

0 comments on commit f27dce7

Please sign in to comment.