You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Otherwise the log-out does not get reflected until a full refresh.
Also, not re-validating root upon removing all items from the cart during /checkout gets you redirected to root and the activeOrderFetcher being hung in loading state. This issue might be relevant: remix-run/remix#8298
The text was updated successfully, but these errors were encountered:
Thanks for pointing out this oversight. I think maybe we could use something like the useRevalidator hook which would offer greater flexibility instead of having these paths (or conditions) hardcoded. The simple solution would be to just check if the currentUrl starts with /account I suppose.
I will see if I can tackle this, but contributions are welcome!
The user is currently able to log out from
/account/history
,/account/addresses
and/account/password
, so this mechanism should be revised:storefront-remix-starter/app/root.tsx
Line 57 in e32cebd
Otherwise the log-out does not get reflected until a full refresh.
Also, not re-validating root upon removing all items from the cart during
/checkout
gets you redirected to root and theactiveOrderFetcher
being hung in loading state. This issue might be relevant: remix-run/remix#8298The text was updated successfully, but these errors were encountered: