new changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useAuth } from "~/composables/api/auth/useAuth";
|
||||
|
||||
export default defineNuxtRouteMiddleware(() => {
|
||||
const { token, logout } = useAuth();
|
||||
const { token } = useAuth();
|
||||
|
||||
if (!!token.value) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user