mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 13:04:19 +00:00
🐛 Fix not found when logging out
This commit is contained in:
parent
730ccb8c36
commit
ff53692ca3
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export default function BoxLoggedIn({ ...props }) {
|
||||||
<Button
|
<Button
|
||||||
color={"Red"} onClick={() => {
|
color={"Red"} onClick={() => {
|
||||||
logout()
|
logout()
|
||||||
history.push("/login")
|
history.push("/")
|
||||||
}} icon={faSignOutAlt}
|
}} icon={faSignOutAlt}
|
||||||
>{strings.logout}</Button>
|
>{strings.logout}</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue