From 1827c6131459fe41a90f4161812c2b8ec10a3c32 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Mon, 3 Oct 2022 21:45:12 -0800 Subject: [PATCH] remove console.logs --- frontend/components/global/CopyText.vue | 1 - frontend/composables/use-theme.ts | 2 -- frontend/pages/home.vue | 4 +--- frontend/pages/index.vue | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/components/global/CopyText.vue b/frontend/components/global/CopyText.vue index 726ac74..88939fc 100644 --- a/frontend/components/global/CopyText.vue +++ b/frontend/components/global/CopyText.vue @@ -30,7 +30,6 @@ setTimeout(() => { copied.value = false; - console.log(copied.value); }, 1000); } diff --git a/frontend/composables/use-theme.ts b/frontend/composables/use-theme.ts index dff3cc4..16c6ca1 100644 --- a/frontend/composables/use-theme.ts +++ b/frontend/composables/use-theme.ts @@ -30,11 +30,9 @@ export function useTheme(): UseTheme { } htmlEl.value = document.querySelector("html"); - console.log(htmlEl.value); }); const theme = computed(() => { - console.log(themeRef.value); return themeRef.value; }); diff --git a/frontend/pages/home.vue b/frontend/pages/home.vue index f807693..02fba0b 100644 --- a/frontend/pages/home.vue +++ b/frontend/pages/home.vue @@ -16,14 +16,12 @@ const auth = useAuthStore(); if (auth.self === null) { - const { data, error } = await api.self(); + const { data, error } = await api.user.self(); if (error) { navigateTo("/"); } auth.$patch({ self: data.item }); - - console.log(auth.self); } const itemsStore = useItemStore(); diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue index e9d6af3..5194198 100644 --- a/frontend/pages/index.vue +++ b/frontend/pages/index.vue @@ -66,7 +66,6 @@ } onMounted(() => { - console.log(groupToken.value); if (groupToken.value !== "") { registerForm.value = true; }