fix member
This commit is contained in:
@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user