aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 21:46:55 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 21:46:55 +0530
commite7c9922d36ea82a54579c1f9e6633d4ad7ad3e74 (patch)
treeead331ad3804f831dd9c2bfabf63b9fb34971f6c /src/components
parent92fb85b8afaacc4a8b5dbb41eea2d0e35eeb6862 (diff)
added login and token refreshing
Diffstat (limited to 'src/components')
-rw-r--r--src/components/navbar.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/navbar.vue b/src/components/navbar.vue
index e6205c8..7491ea9 100644
--- a/src/components/navbar.vue
+++ b/src/components/navbar.vue
@@ -1,6 +1,6 @@
<script setup lang="ts">
-import { watch, ref } from "vue"
-import { RouterLink, useRoute } from "vue-router"
+import { watch, ref } from 'vue'
+import { RouterLink, useRoute } from 'vue-router'
const requiresAuth = ref(true)
const route = useRoute()
@@ -9,7 +9,7 @@ watch(
async () => {
requiresAuth.value = route.meta.isAuth
}
-);
+)
</script>
<template>