aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-05-09 07:48:30 -0500
committerJP Dillingham <jp@dillingham.me>2022-05-09 07:48:30 -0500
commit5c0250047f172ea3c6c509b52f4835dfd42cecf8 (patch)
treee9b1e6378244642f54ea4f5706d527a8ca9b259d /src/web
parent7808140798df43837ba10cf83e1b7867d95fd532 (diff)
downloadslskd-5c0250047f172ea3c6c509b52f4835dfd42cecf8.tar.gz
fix search hub
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Search/Searches.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/components/Search/Searches.js b/src/web/src/components/Search/Searches.js
index e770b829..272282aa 100644
--- a/src/web/src/components/Search/Searches.js
+++ b/src/web/src/components/Search/Searches.js
@@ -10,7 +10,7 @@ import { v4 as uuidv4 } from 'uuid';
import * as lib from '../../lib/searches';
-import { createSearchLogHubConnection } from '../../lib/hubFactory';
+import { createSearchHubConnection } from '../../lib/hubFactory';
import SearchList from './List/SearchList';
@@ -41,7 +41,7 @@ const Searches = () => {
useEffect(() => {
onConnecting();
- const searchHub = createSearchLogHubConnection();
+ const searchHub = createSearchHubConnection();
searchHub.on('list', searches => {
onUpdate(searches.reduce((acc, search) => {