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
3 stars 0 forks source link

Remove unused props from children components. #49

Open hiyaryan opened 8 months ago

hiyaryan commented 8 months ago

This is a code cleanup issue. After some refactoring where React context were implemented instead of passing props, the props that were initially there were not removed and VSCode/ESLint did not pickup on them not being used in the child components. This makes it confusing when viewing the child component from the parent component. Need to manually go through each component and remove the unused props.