MCPcopy Create free account
hub / github.com/DTStack/dt-react-component / clear

Function clear

src/useList/index.ts:111–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109 };
110
111 const clear = () => {
112 clearData();
113 setParams(initialParams);
114 setLoading(false);
115 };
116
117 useEffect(() => {
118 if (options.immediate) {

Callers 1

options.tsxFile · 0.85

Calls 1

clearDataFunction · 0.85

Tested by

no test coverage detected