Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutoshlodhi committed Nov 12, 2019
1 parent b0f2664 commit 98ec5f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/services/UniversalLinksManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ class UniversalLinksManager extends PureComponent {
const resultType = deepGet(res, "data.result_type"),
goTo = deepGet( res , `data.${resultType}`)
;
navigateTo.setGoTo(goTo);
CurrentUser.getSyncState() && navigateTo.shouldNavigate();
if(goTo){
navigateTo.setGoTo(goTo);
CurrentUser.getSyncState() && navigateTo.shouldNavigate();
}
})
.catch((error) => {});
}
Expand Down

0 comments on commit 98ec5f0

Please sign in to comment.