chore(client): fix type

This commit is contained in:
syuilo
2022-06-26 15:55:51 +09:00
parent 311478e725
commit 4329d9e76d
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const props = defineProps<{
instance: misskey.entities.Instance;
}>();
let chartValues = $ref<number | null>(null);
let chartValues = $ref<number[] | null>(null);
os.apiGet('charts/instance', { host: props.instance.host, limit: 16 + 1, span: 'day' }).then(res => {
// 今日のぶんの値はまだ途中の値であり、それも含めると大抵の場合前日よりも下降しているようなグラフになってしまうため今日は弾く