add get list conversion

This commit is contained in:
Wikzyy
2025-03-21 16:54:42 +07:00
parent f9c0f37f96
commit ab943cd99e
4 changed files with 221 additions and 0 deletions

View File

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