Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daviscabral committed Sep 6, 2018
1 parent a8428d9 commit d2eebbb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/navigationStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,10 +890,12 @@ class NavigationStore {
refresh = (data, sceneKey = null) => {
const params = filterParam(data);
const { key } = getActiveState(this.state);
this.dispatch(NavigationActions.setParams({
key: (sceneKey ? sceneKey : key),
params,
}));
this.dispatch(
NavigationActions.setParams({
key: sceneKey || key,
params,
}),
);
};

pop = ({ timeout, key, ...params } = {}) => {
Expand Down

0 comments on commit d2eebbb

Please sign in to comment.