fix: onSearch callback is updated (#2266)

This commit is contained in:
palashgdev 2023-02-15 15:49:24 +05:30 committed by GitHub
parent bad80def90
commit dca0b11acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,8 +186,8 @@ function SearchFilter({
onChange={(e): void => { onChange={(e): void => {
const { value } = e.target; const { value } = e.target;
setSearchText(value); setSearchText(value);
debouncedupdateQueryString(value);
}} }}
onSearch={debouncedupdateQueryString}
allowClear allowClear
/> />
</Popover> </Popover>