I’m probably thinking about this the wrong way, but I am working on a single page app. When a user clicks on the add product page, I am trying to check the db to see if a user has updated his location. If yes, show the user to the “add product” group. If not, the user is shown the “edit profile” profile group to update his profile.
I use custom states to update the states.
I have been able to show the “edit profile group” when the user has not updated his location, but I cannot seem to show the “add product” group when the location is updated. Any clue will be appreciated.