Skip to content

Commit

Permalink
fix: QRCode page crash
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Jun 25, 2024
1 parent 1c91f6a commit bfaddad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ShareCodePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function ShareCodePage({report}: ShareCodePageProps) {
<ScreenWrapper testID={ShareCodePage.displayName}>
<HeaderWithBackButton
title={translate('common.shareCode')}
onBackButtonPress={() => Navigation.goBack(isReport ? ROUTES.REPORT_WITH_ID_DETAILS.getRoute(report.reportID) : undefined)}
onBackButtonPress={() => Navigation.goBack(isReport ? ROUTES.REPORT_WITH_ID_DETAILS.getRoute(report?.reportID) : undefined)}
shouldShowBackButton
/>
<ScrollView style={[themeStyles.flex1, themeStyles.pt3]}>
Expand Down

0 comments on commit bfaddad

Please sign in to comment.