use pendingMembers context
This commit is contained in:
@@ -11,10 +11,7 @@ export const userCreatedListener = (echo, userData, setNotifications, setunreadN
|
|||||||
};
|
};
|
||||||
setNotifications(prev => [newNotification, ...prev]);
|
setNotifications(prev => [newNotification, ...prev]);
|
||||||
setunreadNotification(true);
|
setunreadNotification(true);
|
||||||
|
updatePendingMembers();
|
||||||
if (typeof updatePendingMembers === "function") {
|
|
||||||
updatePendingMembers();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
return channelName;
|
return channelName;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user