Closed BenReichwein closed 1 year ago
In hooks/useAddRecentGroup.js we store recently visited groups in localStorage. The hook is called in groupHome, when a user visits a group.
hooks/useAddRecentGroup.js
Expected: When a user visits a group that they've visited before, it will resort the array and put the most recent group as the first array element
Actual: The user visits a group and it doesn't bring the most recent group to the first array element.
In
hooks/useAddRecentGroup.js
we store recently visited groups in localStorage. The hook is called in groupHome, when a user visits a group.Expected: When a user visits a group that they've visited before, it will resort the array and put the most recent group as the first array element
Actual: The user visits a group and it doesn't bring the most recent group to the first array element.