Skip to content

Commit

Permalink
fix exit form (#1211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks19 authored Oct 3, 2024
1 parent cf347cf commit e8fcd74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useEffect } from 'react'
import type { Profile } from '../../profile/models'

interface Props {
currentProfile: Profile
currentProfile?: Profile
trackUninstall: () => void
}

Expand All @@ -15,6 +15,6 @@ export const ExitSurvey: FC<Props> = ({ currentProfile, trackUninstall }) => {
} else {
window.location.replace('https://p1atjy4hixj.typeform.com/saladexitsurvey')
}
}, [currentProfile.id, trackUninstall])
}, [currentProfile?.id, trackUninstall])
return null
}

0 comments on commit e8fcd74

Please sign in to comment.