add Manage Wallet master data

This commit is contained in:
Wikzyy
2025-03-27 16:22:46 +07:00
parent 1200301479
commit 088adb26c3
5 changed files with 310 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import { useContext } from 'react';
import { ManageWalletContext } from './ManageWalletContext';
const useManageWalletContext = () => {
const context = useContext(ManageWalletContext);
if (!context) {
throw new Error('useManageWalletContext must be used within a ManageWalletContextProvider');
}
return context;
};
export { useManageWalletContext };