Skip to content

Commit

Permalink
(PC-34183) feat(batch): try to fix sentry issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeneston-pass committed Feb 3, 2025
1 parent 305bdb1 commit 2132694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/home/pages/GenericHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const OnlineHome: FunctionComponent<GenericHomeProps> = ({
'home_type',
thematicHeader ? `thematicHome - ${thematicHeader.type}` : 'mainHome'
)
attributes.put('home_name', thematicHeader ? thematicHeader.title : 'mainHome')
thematicHeader && attributes.put('home_name', thematicHeader.title ?? 'mainHome')

BatchProfile.trackEvent(BatchEvent.hasSeenEnoughHomeContent, attributes)
}
Expand Down

0 comments on commit 2132694

Please sign in to comment.