diff --git a/src/client/components/header/index.jsx b/src/client/components/header/index.jsx index 5b7a5ab1..e8ad7d37 100644 --- a/src/client/components/header/index.jsx +++ b/src/client/components/header/index.jsx @@ -73,8 +73,8 @@ const Header = () => { const data = await refresh(); if (data.statusCode === 401) { - setRedirect(true); close(); + setRedirect(true); } dispatch(userLogin(cookie));