overleaf/services/web/app/views/project
Miguel Serrano 864a75c284 Fixed unread message count in react chat (#3529)
* Fixed unread message count in react chat

The problem was caused by ChatStore being instantiated multiple times on each `useRef` call, plus also incorrectly cleaned-up, since it should be calling `socket.removeListener` instead of `socket.off` on effect destroy.

* deferred loading messages until chat is opened

GitOrigin-RevId: b990cd06cea6630472b0911b56219766717aaff6
2021-01-12 03:04:26 +00:00
..
editor Fixed unread message count in react chat (#3529) 2021-01-12 03:04:26 +00:00
invite Merge pull request #2228 from overleaf/ns-title-overflow 2019-10-14 18:01:53 +00:00
list Merge pull request #3358 from overleaf/jel-send-email-confirmation-error 2020-11-10 03:04:19 +00:00
token Merge pull request #2826 from overleaf/ns-project-import-flow-deletion 2020-05-21 03:21:56 +00:00
editor.pug Merge pull request #3436 from overleaf/msm-react-shared-context 2020-12-15 03:05:07 +00:00
importing.pug Merge pull request #2631 from overleaf/bg-maintenance-messages-in-editor 2020-02-27 04:17:59 +00:00
list.pug Merge pull request #2631 from overleaf/bg-maintenance-messages-in-editor 2020-02-27 04:17:59 +00:00