fix lint: use let instead of const for $ref

Fixes lint no-const-assign.
This commit is contained in:
Johann150
2022-07-04 16:22:11 +02:00
parent 935fce338a
commit 2bd4323b17
4 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ const props = defineProps<{
user: misskey.entities.User;
}>();
const chart = $ref(null);
let chart = $ref(null);
os.apiGet('charts/user/notes', { userId: props.user.id, limit: 16, span: 'day' }).then(res => {
chart = res;