overleaf/services/web/app
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
..
src Merge pull request #3536 from overleaf/ta-file-tree-beta 2021-01-08 03:05:28 +00:00
templates Merge pull request #1107 from sharelatex/ja-purchase-groups 2018-11-13 13:50:46 +00:00
views Fixed unread message count in react chat (#3529) 2021-01-12 03:04:26 +00:00