material-react-table 1.0.0-beta.0 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-beta.0",
2
+ "version": "1.0.0-beta.1",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -18,8 +18,8 @@ import {
18
18
  TextFieldProps,
19
19
  Tooltip,
20
20
  } from '@mui/material';
21
- import { MRT_FilterOptionMenu } from '../menus/MRT_FilterOptionMenu';
22
21
  import type { MRT_Header, MRT_TableInstance } from '..';
22
+ import { MRT_FilterOptionMenu } from '../menus/MRT_FilterOptionMenu';
23
23
 
24
24
  interface Props {
25
25
  header: MRT_Header;
@@ -171,7 +171,7 @@ export const MRT_FilterTextField: FC<Props> = ({
171
171
  };
172
172
 
173
173
  useEffect(() => {
174
- setFilterValue('');
174
+ handleClear();
175
175
  }, [columnDef._filterFn]);
176
176
 
177
177
  if (columnDef.Filter) {