aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/Search/Searches.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/Search/Searches.jsx b/src/web/src/components/Search/Searches.jsx
index 362ec4fd..d50462ba 100644
--- a/src/web/src/components/Search/Searches.jsx
+++ b/src/web/src/components/Search/Searches.jsx
@@ -73,7 +73,7 @@ const Searches = ({ server } = {}) => {
});
searchHub.on('create', (search) => {
- console.log('search', search);
+ onUpdate((old) => ({ ...old, [search.id]: search }));
});
searchHub.onreconnecting((connectionError) =>