aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-12 00:58:07 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit13653494f4a89d2a833b19ec0f3dc912eac96f25 (patch)
treec21d105c4d88c59613ac87e649404d9bceec7356 /vnext/src/App.js
parent65997943686cb65caf40218c5f7a0123ccb93935 (diff)
Fix hook dependencies warnings (some)
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r--vnext/src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index b3d821e4..4e40f9f1 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -56,7 +56,7 @@ export default function App() {
es.removeEventListener('read', updateStatus);
};
setEs(es);
- }, []);
+ }, [visitor]);
let search = (history, pathname, searchString) => {