From d2eebbb1a1e1a5010787e231ae3cd69df0396a3f Mon Sep 17 00:00:00 2001 From: "Davis Z. Cabral" Date: Thu, 6 Sep 2018 13:53:44 -0300 Subject: [PATCH] Lint --- src/navigationStore.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/navigationStore.js b/src/navigationStore.js index 0e9bb1634..cefa41922 100644 --- a/src/navigationStore.js +++ b/src/navigationStore.js @@ -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 } = {}) => {