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

Function useManagementState

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

Source from the content-addressed store, hash-verified

242}
243
244function useManagementState() {
245 let context = React.useContext(ManagementStateContext);
246 if (context === undefined) {
247 throw new Error(
248 'useManagementState must be used within a ManagementProvider',
249 );
250 }
251 return context;
252}
253
254function useManagementDispatch() {
255 let context = React.useContext(ManagementDispatchContext);

Callers 5

Header.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