Make router replace pages correctly
JustAGhost23 opened this issue · 1 comments
JustAGhost23 commented
Currently, on updating a profile in the edit user page, the router redirects to '/' from 'editProfile', thus adding another stack entry on top of the existing entries. We need to figure out a way to redirect back to '/' without having extra stack entries for '/' and '/editProfile' each time we edit a profile.
JustAGhost23 commented