This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
Centralise logic for redirecting to login when user is not logged in #158
Labels
enhancement
New feature or request
On the account page, and the order view page, we have a
verifyAuth
method which runs when the component mounts. This checks that the user is logged in and redirects them away if not.We can convert this into a HOC or something to centralise this logic.
The text was updated successfully, but these errors were encountered: