From 289c2ea9f397f4e081468b3eeda6271d1bd2b193 Mon Sep 17 00:00:00 2001 From: Neeraj Kashyap Date: Tue, 24 Aug 2021 09:37:33 -0700 Subject: [PATCH] Fixed default stream query --- frontend/src/core/hooks/useStream.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/core/hooks/useStream.js b/frontend/src/core/hooks/useStream.js index ac976eb9..a11524ae 100644 --- a/frontend/src/core/hooks/useStream.js +++ b/frontend/src/core/hooks/useStream.js @@ -6,9 +6,7 @@ import { queryCacheProps } from "./hookCommon"; import { defaultStreamBoundary } from "../services/servertime.service.js"; const useStream = (q) => { - const [streamQuery, setStreamQuery] = useState( - q || "type:ethereum_whalewatch" - ); + const [streamQuery, setStreamQuery] = useState(q || ""); const [events, setEvents] = useState([]); const [streamBoundary, setStreamBoundary] = useState({}); const [olderEvent, setOlderEvent] = useState(null);