Skip to content

Commit

Permalink
fix: add missing analytics call in onboarding success page (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidg authored Nov 7, 2023
1 parent 6fb73c3 commit daabf50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/extension/src/ui/apps/onboard/routes/Success.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import imgHandOrb from "@talisman/theme/images/onboard_hand_orb.png"
import { AnalyticsPage } from "@ui/api/analytics"
import { useAnalyticsPageView } from "@ui/hooks/useAnalyticsPageView"
import { Button } from "talisman-ui"

import { useOnboard } from "../context"
Expand All @@ -13,6 +14,7 @@ const SUCCESS_PAGE: AnalyticsPage = {
}

export const SuccessPage = () => {
useAnalyticsPageView(SUCCESS_PAGE)
const { completeOnboarding } = useOnboard()
return (
<OnboardLayout analytics={SUCCESS_PAGE}>
Expand Down

0 comments on commit daabf50

Please sign in to comment.