sorry im dumb and i forgot a default value

This commit is contained in:
MyNameIsBatman 2022-09-17 00:15:42 -03:00
parent ba710ac98c
commit 81407bb853

View File

@ -11,7 +11,7 @@ export const ChatHistoryView: FC<{}> = props =>
const { chatHistory = [] } = useChatHistory();
const elementRef = useRef<List>(null);
const [ searchText, setSearchText ] = useState<string>('z');
const [ searchText, setSearchText ] = useState<string>('');
const cache = useMemo(() => new CellMeasurerCache({ defaultHeight: 25, fixedWidth: true }), []);