|
|
@@ -40,11 +40,11 @@ const InAppNotificationDropdown: FC = (props) => {
|
|
|
console.log(props);
|
|
|
|
|
|
const socket = props.socketIoContainer.getSocket();
|
|
|
- socket.on('InAppNotification:countUpdate', (data: { user: string, count: number }) => {
|
|
|
+ socket.on('InAppNotification:countUpdate', (data: { userId: string, count: number }) => {
|
|
|
// eslint-disable-next-line no-console
|
|
|
console.log('socketData', data);
|
|
|
|
|
|
- if (props.me === data.user) {
|
|
|
+ if (props.me === data.userId) {
|
|
|
// TODO: Fetch notification list by #78557
|
|
|
// fetchNotificationList();
|
|
|
|