fix member

This commit is contained in:
unknown
2025-05-06 17:48:39 +07:00
parent 743af47a57
commit 8a97192e9a
4 changed files with 21 additions and 14 deletions

View File

@ -37,6 +37,10 @@ const Kyc = () => {
};
const { getUser } = useAuthContext();
useEffect(() => {
fetchCustomers();
}, [member]);
async function fetchCustomers() {
setIsReloading(true);
try {
@ -185,11 +189,6 @@ const Kyc = () => {
function setShowAddDialog(el: any) {
setIsDialogOpen(el);
}
useEffect(() => {
fetchCustomers();
}, [member]);
// if (isReloading) return <DataGridLoader />;
return (