Skip to content

Commit ac0d5ee

Browse files
refactor: use stable reference for signOutAndRedirectToSignIn
Co-authored-by: Rory Abraham <47436092+roryabraham@users.noreply.github.com>
1 parent 6ed7764 commit ac0d5ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/AnonymousReportFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function AnonymousReportFooter({isSmallSizeLayout = false, report}: AnonymousRep
4646
<Button
4747
success
4848
text={translate('common.signIn')}
49-
onPress={() => signOutAndRedirectToSignIn()}
49+
onPress={signOutAndRedirectToSignIn as () => void}
5050
/>
5151
</View>
5252
</View>

0 commit comments

Comments
 (0)