diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-05-09 07:48:30 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-05-09 07:48:30 -0500 |
| commit | 5c0250047f172ea3c6c509b52f4835dfd42cecf8 (patch) | |
| tree | e9b1e6378244642f54ea4f5706d527a8ca9b259d | |
| parent | 7808140798df43837ba10cf83e1b7867d95fd532 (diff) | |
| download | slskd-5c0250047f172ea3c6c509b52f4835dfd42cecf8.tar.gz | |
fix search hub
| -rw-r--r-- | src/web/src/components/Search/Searches.js | 4 |
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) => { |
