Skip to content

Commit 4b64139

Browse files
committed
remove item after reading
1 parent c2a6941 commit 4b64139

File tree

1 file changed

+1
-0
lines changed
  • packages/template-retail-react-app/app/pages/login

1 file changed

+1
-0
lines changed

packages/template-retail-react-app/app/pages/login/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ const Login = ({initialView = LOGIN_VIEW}) => {
171171
if (isRegistered) {
172172
handleMergeBasket()
173173
const locatedFrom = window.localStorage.getItem('returnToPage')
174+
window.localStorage.removeItem('returnToPage')
174175
if (locatedFrom) {
175176
navigate(locatedFrom)
176177
} else {

0 commit comments

Comments
 (0)