Skip to content

Commit

Permalink
fix: use incorrect function
Browse files Browse the repository at this point in the history
  • Loading branch information
ChingCdesu committed Sep 30, 2023
1 parent 7887366 commit 42fbddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "supernode-frontend",
"private": true,
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
3 changes: 2 additions & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { createRouter, createWebHistory } from "vue-router";

import { useAuthState } from "@/store/auth";
import { useUserState } from "@/store/user";

import HomeRoute from "@/router/routes/home";
import LoginRoute from "@/router/routes/login";
import { getMe } from "@/api/v1/business/users";

const { isExpired } = useAuthState();
const { getMe } = useUserState();

const router = createRouter({
history: createWebHistory(),
Expand Down

0 comments on commit 42fbddc

Please sign in to comment.