|
@ -34,7 +34,7 @@ function Header(props) { |
|
|
const handelClick = (item) => { |
|
|
const handelClick = (item) => { |
|
|
if (item.key === 'logout') { |
|
|
if (item.key === 'logout') { |
|
|
// dispatch(actions.auth.logout(user));
|
|
|
// dispatch(actions.auth.logout(user));
|
|
|
// sessionStorage.removeItem('selectedKeys');
|
|
|
sessionStorage.removeItem('selectedKeys'); |
|
|
history.push('/brief'); |
|
|
history.push('/brief'); |
|
|
} |
|
|
} |
|
|
// else if (item.key === 'themeLight') {
|
|
|
// else if (item.key === 'themeLight') {
|
|
|