add table page for postoadms by municipioId
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
import { useContext } from 'react';
|
||||
import { ManagePostoAdmsContext } from './ManagePostoAdmsContext';
|
||||
|
||||
const useManagePostoAdmsContext = () => {
|
||||
const context = useContext(ManagePostoAdmsContext);
|
||||
|
||||
if (!context) throw new Error('useManagePostoAdmsContext must be used within AuthProvider');
|
||||
|
||||
return context;
|
||||
};
|
||||
|
||||
export { useManagePostoAdmsContext };
|
||||
Reference in New Issue
Block a user