use pendingMembers context
This commit is contained in:
1 parent
17ca3a9e95
commit
258170d4d8
1 file changed
-3
@@ -11,10 +11,7 @@ export const userCreatedListener = (echo, userData, setNotifications, setunreadN
|
|||||||
};
|
};
|
||||||
setNotifications(prev => [newNotification, ...prev]);
|
setNotifications(prev => [newNotification, ...prev]);
|
||||||
setunreadNotification(true);
|
setunreadNotification(true);
|
||||||
|
|
||||||
if (typeof updatePendingMembers === "function") {
|
|
||||||
updatePendingMembers();
|
updatePendingMembers();
|
||||||
}
|
|
||||||
});
|
});
|
||||||
return channelName;
|
return channelName;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user