mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 11:39:17 +00:00
navigate to root after logout
This commit is contained in:
parent
ea339fc552
commit
a5c1e6a05d
@ -23,7 +23,8 @@ export function useIdentity() {
|
|||||||
|
|
||||||
const actions = {
|
const actions = {
|
||||||
logout: async () => {
|
logout: async () => {
|
||||||
app.actions.logout()
|
app.actions.logout();
|
||||||
|
navigate('/');
|
||||||
},
|
},
|
||||||
editLabels: () => {
|
editLabels: () => {
|
||||||
console.log("EDIT LABELS");
|
console.log("EDIT LABELS");
|
||||||
|
Loading…
Reference in New Issue
Block a user