forked from mirrors/homebox
remove console.logs
This commit is contained in:
parent
76c6d25850
commit
1827c61314
4 changed files with 1 additions and 7 deletions
|
@ -16,14 +16,12 @@
|
|||
const auth = useAuthStore();
|
||||
|
||||
if (auth.self === null) {
|
||||
const { data, error } = await api.self();
|
||||
const { data, error } = await api.user.self();
|
||||
if (error) {
|
||||
navigateTo("/");
|
||||
}
|
||||
|
||||
auth.$patch({ self: data.item });
|
||||
|
||||
console.log(auth.self);
|
||||
}
|
||||
|
||||
const itemsStore = useItemStore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue