bug fix

parent 5bff38c7
...@@ -14,6 +14,7 @@ const Header = () => { ...@@ -14,6 +14,7 @@ const Header = () => {
if (token) { if (token) {
dispatch(logout(token)); dispatch(logout(token));
} }
navigate('/');
}; };
return ( return (
<div> <div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment