mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 15:40:51 +01:00
sorry im dumb and i forgot a default value
This commit is contained in:
parent
ba710ac98c
commit
81407bb853
@ -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 }), []);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user