From 5afa623e3a4e5c5a6787797d3474845292dcf7d3 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Thu, 5 Sep 2024 16:24:39 +0300 Subject: [PATCH] timer --- front/src/components/nav.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/front/src/components/nav.vue b/front/src/components/nav.vue index 808e27a..b2de87f 100644 --- a/front/src/components/nav.vue +++ b/front/src/components/nav.vue @@ -6,9 +6,13 @@ import { useRoute } from 'vue-router'; import { useItem } from '../stores/item'; import { onMounted, ref } from 'vue'; import { SERVER_URL } from '../constants'; +import { useTimer } from '../stores/timer'; +import { useTimerHome } from '../stores/timer_home'; const route = useRoute() const pageStore = useItem() +const timer = useTimer() +const home_timer = useTimerHome() const items = ref([] as { name: string, slug: string }[]) @@ -44,6 +48,12 @@ onMounted(async () => {