diff options
-rw-r--r-- | modern/src/components/BottomMenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/components/BottomMenu.js b/modern/src/components/BottomMenu.js index e994f8f..a1e9625 100644 --- a/modern/src/components/BottomMenu.js +++ b/modern/src/components/BottomMenu.js @@ -45,8 +45,8 @@ const BottomMenu = () => { break; case 3: await fetch('/api/session', { method: 'DELETE' }); - dispatch(sessionActions.updateUser(null)); history.push('/login'); + dispatch(sessionActions.updateUser(null)); break; default: break; |