From 572000f86872e86fc3853da3d86e86d180c143ef Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 4 Feb 2023 09:01:26 +0900 Subject: [PATCH] clean up --- packages/frontend/src/components/MkMediaList.vue | 2 -- packages/frontend/src/components/MkRetentionHeatmap.vue | 2 -- packages/frontend/src/components/MkSignin.vue | 1 - packages/frontend/src/pages/settings/accounts.vue | 3 --- 4 files changed, 8 deletions(-) diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 58bec80f2a..f263ae0ce9 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -30,8 +30,6 @@ const props = defineProps<{ raw?: boolean; }>(); -console.log(MediaList.toString) - const gallery = ref(null); const pswpZIndex = os.claimZIndex('middle'); diff --git a/packages/frontend/src/components/MkRetentionHeatmap.vue b/packages/frontend/src/components/MkRetentionHeatmap.vue index b7886d1dc2..52c8b6d026 100644 --- a/packages/frontend/src/components/MkRetentionHeatmap.vue +++ b/packages/frontend/src/components/MkRetentionHeatmap.vue @@ -56,8 +56,6 @@ async function renderChart() { } } - console.log(data); - fetching = false; await nextTick(); diff --git a/packages/frontend/src/components/MkSignin.vue b/packages/frontend/src/components/MkSignin.vue index cc1a7c4af5..8cce1d43f6 100644 --- a/packages/frontend/src/components/MkSignin.vue +++ b/packages/frontend/src/components/MkSignin.vue @@ -154,7 +154,6 @@ function queryKey() { function onSubmit() { signing = true; - console.log('submit'); if (!totpLogin && user && user.twoFactorEnabled) { if (window.PublicKeyCredential && user.securityKeys) { os.api('signin', { diff --git a/packages/frontend/src/pages/settings/accounts.vue b/packages/frontend/src/pages/settings/accounts.vue index c2d511e744..a5eaae2bad 100644 --- a/packages/frontend/src/pages/settings/accounts.vue +++ b/packages/frontend/src/pages/settings/accounts.vue @@ -38,14 +38,11 @@ const init = async () => { getAccounts().then(accounts => { storedAccounts.value = accounts.filter(x => x.id !== $i!.id); - console.log(storedAccounts.value); - return os.api('users/show', { userIds: storedAccounts.value.map(x => x.id), }); }).then(response => { accounts.value = response; - console.log(accounts.value); }); };