hiyaryan / 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 distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
2 stars 0 forks source link

Ensure most recent messages are shown when Chat is uncollapsed. #108

Closed hiyaryan closed 5 months ago

hiyaryan commented 5 months ago

Adds isCollapsed to useEffect to ensure that when Chat is uncollapsed the most recent messages are scrolled into view. Without this, the messages are scroll to the top.