From 81407bb85313321d61f2f3897cdd5a976de73b11 Mon Sep 17 00:00:00 2001 From: MyNameIsBatman Date: Sat, 17 Sep 2022 00:15:42 -0300 Subject: [PATCH] sorry im dumb and i forgot a default value --- src/components/chat-history/ChatHistoryView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chat-history/ChatHistoryView.tsx b/src/components/chat-history/ChatHistoryView.tsx index 523692d2..527ecf6b 100644 --- a/src/components/chat-history/ChatHistoryView.tsx +++ b/src/components/chat-history/ChatHistoryView.tsx @@ -11,7 +11,7 @@ export const ChatHistoryView: FC<{}> = props => const { chatHistory = [] } = useChatHistory(); const elementRef = useRef(null); - const [ searchText, setSearchText ] = useState('z'); + const [ searchText, setSearchText ] = useState(''); const cache = useMemo(() => new CellMeasurerCache({ defaultHeight: 25, fixedWidth: true }), []);