butuh install packagee react number format
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
import { useContext } from 'react';
|
||||
import { ManageTransferFeeContext } from './ManageTransferFeeContext';
|
||||
|
||||
const useManageTransferFeeContext = () => {
|
||||
const context = useContext(ManageTransferFeeContext);
|
||||
|
||||
if (!context) throw new Error('useManageAccessTypeContext must be used within AuthProvider');
|
||||
|
||||
return context;
|
||||
};
|
||||
|
||||
export { useManageTransferFeeContext };
|
||||
Reference in New Issue
Block a user