feat: withdraw

This commit is contained in:
chashaobao
2025-06-14 23:45:47 +08:00
parent 082c5483c5
commit 96eb46821e
13 changed files with 279 additions and 29 deletions

View File

@ -1,9 +1,10 @@
import { useSelector } from 'react-redux';
import { RoleType } from '@/constants/app';
import { selectRoleType } from '@/store/selector';
function useRoleType() {
return useSelector(selectRoleType);
return useSelector(selectRoleType) || RoleType.Anchor;
}
export default useRoleType;