remove unnecessary
This commit is contained in:
@@ -7,7 +7,6 @@ import TheLogin from "@/pages/login/TheLogin";
|
|||||||
import LoggedInLayout from "@/components/LoggedInLayout";
|
import LoggedInLayout from "@/components/LoggedInLayout";
|
||||||
import TheMedicalCard from "@/pages/newMedicalCard/TheMedicalCard";
|
import TheMedicalCard from "@/pages/newMedicalCard/TheMedicalCard";
|
||||||
import { fetchWrapper } from "@/shared/fetchWrapper";
|
import { fetchWrapper } from "@/shared/fetchWrapper";
|
||||||
import TheCreateMedicalCard from "@/pages/createMedicalCard/TheCreateMedicalCard.vue";
|
|
||||||
|
|
||||||
const ifNotAuthenticated = async (to, from, next) => {
|
const ifNotAuthenticated = async (to, from, next) => {
|
||||||
const data = await fetchWrapper.get("users/me");
|
const data = await fetchWrapper.get("users/me");
|
||||||
@@ -42,7 +41,6 @@ export default createRouter({
|
|||||||
{ path: "medcards", component: TheMedcards },
|
{ path: "medcards", component: TheMedcards },
|
||||||
{ path: "settings", component: TheSettings },
|
{ path: "settings", component: TheSettings },
|
||||||
{ path: "medical-card", component: TheMedicalCard },
|
{ path: "medical-card", component: TheMedicalCard },
|
||||||
{ path: "create-medical-card", component: TheCreateMedicalCard },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user