add route for all menu

This commit is contained in:
Wikzyy
2025-02-24 11:32:08 +07:00
parent d55823b7b3
commit a0efe6a7fc
16 changed files with 156 additions and 5 deletions

View File

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