Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DTStack/dt-react-component
/ clearData
Function
clearData
src/useList/index.ts:105–109 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
103
};
104
105
const
clearData = () => {
106
setData([]);
107
setTotal(0);
108
setError(undefined);
109
};
110
111
const
clear = () => {
112
clearData();
Callers
3
mutate
Function · 0.85
clear
Function · 0.85
query.tsx
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected