cognovi-ai / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling and reframing distorted thinking when you've been thinking this way your whole life. The CDJ can help with that 🧠✨ -- v2 is in development!
https://thecdj.app
3 stars 0 forks source link

Clicking on Chat label with no messages returns TypeError #111

Closed hiyaryan closed 9 months ago

hiyaryan commented 9 months ago

The following error can be reproduced by clicking on the Chat label or instruction text below if there are no messages in the Chat box. This is due to the program trying to access a null value to center the view on the most recent message when their isn't anything to scroll into.

Screenshot 2024-01-25 at 6 49 30 PM