sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

crash chat/messages #8031

Closed haraldschilly closed 3 days ago

haraldschilly commented 3 days ago

During development, I saw this crash. I was just quickly clicking on a file tab for a chat. Not sure if relevant, though:

TypeError: Cannot read properties of undefined (reading 'remove')
    at editing_status (eval at ../frontend/chat/message.tsx (http://localhost:5000/static/app-4deb6d55bacecb30fae1.js:12370:1), <anonymous>:315:51)
    at editControlRow (eval at ../frontend/chat/message.tsx (http://localhost:5000/static/app-4deb6d55bacecb30fae1.js:12370:1), <anonymous>:643:52)
    at contentColumn (eval at ../frontend/chat/message.tsx (http://localhost:5000/static/app-4deb6d55bacecb30fae1.js:12370:1), <anonymous>:917:47)
    at renderCols (eval at ../frontend/chat/message.tsx (http://localhost:5000/static/app-4deb6d55bacecb30fae1.js:12370:1), <anonymous>:1412:21)
    at Message (eval at ../frontend/chat/message.tsx (http://localhost:5000/static/app-4deb6d55bacecb30fae1.js:12370:1), <anonymous>:1437:8)
[...]

hmm … next to the line where is is (not sure, though), is // @ts-ignore – not sure why this error shows up