Skip to content

Commit

Permalink
fix reset
Browse files Browse the repository at this point in the history
  • Loading branch information
paula-stacho committed Oct 29, 2024
1 parent d6cf33e commit 950e100
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function ShardZonesTable({

const handleSearchTextChange = useCallback(
(e: React.ChangeEvent<HTMLInputElement>) => {
tableRef.current.setGlobalFilter(e.currentTarget.value);
tableRef.current.setGlobalFilter(e.currentTarget?.value || '');
},
[tableRef]
);
Expand Down

0 comments on commit 950e100

Please sign in to comment.