Skip to content

Commit

Permalink
Merge pull request #35924 from software-mansion-labs/ts/ShareCodePage…
Browse files Browse the repository at this point in the history
…-fix

Share Code Page fix

(cherry picked from commit 1da7032)
  • Loading branch information
thienlnam authored and OSBotify committed Feb 6, 2024
1 parent 89ed188 commit 177c0ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/ShareCodePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ function ShareCodePage({report, session, currentUserPersonalDetails}: ShareCodeP
isAnonymousAction
title={translate('common.download')}
icon={Expensicons.Download}
onPress={qrCodeRef.current?.download}
// eslint-disable-next-line @typescript-eslint/no-misused-promises
onPress={() => qrCodeRef.current?.download?.()}
/>
)}

Expand Down

0 comments on commit 177c0ba

Please sign in to comment.