aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-01-27 20:39:58 -0600
committerJP Dillingham <jp@dillingham.me>2025-01-27 20:39:58 -0600
commitdaa6baca2e28b480889f7db721d5e1fbbc422723 (patch)
tree7c8f0a6063101fe4d799ce0511da9d10b12b86a8
parentbfda68c3aef85a9b98f346f683f75472a4f423b9 (diff)
downloadslskd-daa6baca2e28b480889f7db721d5e1fbbc422723.tar.gz
stub create handler
-rw-r--r--src/web/src/components/Search/Searches.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/src/components/Search/Searches.jsx b/src/web/src/components/Search/Searches.jsx
index 471f833d..362ec4fd 100644
--- a/src/web/src/components/Search/Searches.jsx
+++ b/src/web/src/components/Search/Searches.jsx
@@ -72,7 +72,9 @@ const Searches = ({ server } = {}) => {
});
});
- searchHub.on('create', () => {});
+ searchHub.on('create', (search) => {
+ console.log('search', search);
+ });
searchHub.onreconnecting((connectionError) =>
onConnectionError(connectionError?.message ?? 'Disconnected'),