Skip to content

Commit

Permalink
Merge pull request Expensify#34975 from s-alves10/fix/issue-34764
Browse files Browse the repository at this point in the history
fix: call signOutAndRedirectToSignIn with no parameter
  • Loading branch information
Beamanator authored Jan 29, 2024
2 parents 620f3a0 + 3dd0e16 commit 3d46b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/sidebar/SignInButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ function SignInButton() {
<PressableWithoutFeedback
accessibilityLabel={translate('sidebarScreen.buttonMySettings')}
role={CONST.ROLE.BUTTON}
onPress={Session.signOutAndRedirectToSignIn}
onPress={() => Session.signOutAndRedirectToSignIn()}
>
<View style={styles.signInButtonAvatar}>
<Button
medium
success
text={translate('common.signIn')}
onPress={Session.signOutAndRedirectToSignIn}
onPress={() => Session.signOutAndRedirectToSignIn()}
/>
</View>
</PressableWithoutFeedback>
Expand Down

0 comments on commit 3d46b00

Please sign in to comment.