Skip to content

Commit

Permalink
Fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Jan 17, 2024
1 parent e60f3f2 commit 7bd818c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/mobile/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ class AppUpdateWrapper extends Component<{}, AppUpdateWrapperState> {
codePush
.checkForUpdate()
.then(update => {
if (once) {
return;
}
once = true;

if (update) {
if (once) {
return;
}
once = true;

this.setState({
...this.state,
codepushInitTestCompleted: true,
Expand Down

0 comments on commit 7bd818c

Please sign in to comment.