tijlleenders / ZinZen

Better together - an app to realize dreams together.
https://ZinZen.me
GNU Affero General Public License v3.0
45 stars 64 forks source link

navigating to different page from subgoal doesnt clear subGoalHistory location state #2016

Closed vinaybadgujar102 closed 3 months ago

vinaybadgujar102 commented 3 months ago

Describe the bug When the user is on the sub-goal page and navigates away, for instance, to the "My Time" page, the sub-goal state is not cleared. Consequently, if the user returns to the sub-goal page, the same state is pushed to the sub-goal state array, causing bugs including the one mentioned here (https://github.com/tijlleenders/ZinZen/pull/2010#pullrequestreview-2217007450).

Screenshots Screencast from 05-08-24 01:02:10 PM IST.webm