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

Function useManagementDispatch

src/context/ManagementContext.js:254–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254function useManagementDispatch() {
255 let context = React.useContext(ManagementDispatchContext);
256 if (context === undefined) {
257 throw new Error(
258 'useManagementDispatch must be used within a ManagementProvider',
259 );
260 }
261 return context;
262}
263
264// ###########################################################
265

Callers 6

Header.jsFile · 0.90
AddUser.jsFile · 0.90
EditUserFunction · 0.90
UserList.jsFile · 0.90
UsersFormPageFunction · 0.90
UsersTable.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected