From d6146d910269abd5cab195eea28a84cc72bda6dc Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 26 Jun 2022 15:55:51 +0900 Subject: [PATCH] chore(client): fix type --- packages/client/src/components/instance-card-mini.vue | 2 +- packages/client/src/components/user-card-mini.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/instance-card-mini.vue b/packages/client/src/components/instance-card-mini.vue index 72d83bd99..88621e72c 100644 --- a/packages/client/src/components/instance-card-mini.vue +++ b/packages/client/src/components/instance-card-mini.vue @@ -18,7 +18,7 @@ const props = defineProps<{ instance: misskey.entities.Instance; }>(); -let chartValues = $ref(null); +let chartValues = $ref(null); os.apiGet('charts/instance', { host: props.instance.host, limit: 16 + 1, span: 'day' }).then(res => { // 今日のぶんの値はまだ途中の値であり、それも含めると大抵の場合前日よりも下降しているようなグラフになってしまうため今日は弾く diff --git a/packages/client/src/components/user-card-mini.vue b/packages/client/src/components/user-card-mini.vue index 997431d1b..732adf7f5 100644 --- a/packages/client/src/components/user-card-mini.vue +++ b/packages/client/src/components/user-card-mini.vue @@ -19,7 +19,7 @@ const props = defineProps<{ user: misskey.entities.User; }>(); -let chartValues = $ref(null); +let chartValues = $ref(null); os.apiGet('charts/user/notes', { userId: props.user.id, limit: 16 + 1, span: 'day' }).then(res => { // 今日のぶんの値はまだ途中の値であり、それも含めると大抵の場合前日よりも下降しているようなグラフになってしまうため今日は弾く