Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
032b687369

+ 2 - 2
packages/app/src/components/InAppNotification/InAppNotificationDropdown.tsx

@@ -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();