MCPcopy Create free account
hub / github.com/flatlogic/react-material-admin / fetchAPI

Function fetchAPI

src/pages/user/UserList.js:177–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 React.useEffect(() => {
176 sendNotification('This page is only available in React Material Admin Full with Node.js integration!');
177 async function fetchAPI() {
178 try {
179 await actions.doFetch({}, false)(managementDispatch);
180 setUsersRows(managementValue.rows);
181 } catch (e) {
182 console.log(e);
183 }
184 }
185 fetchAPI();
186 }, []);
187

Callers 1

UserList.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected