perf(client): use shallowRef instead of ref for template reference
This commit is contained in:
parent
826e4502cb
commit
c93f091ba8
46 changed files with 66 additions and 70 deletions
|
@ -118,7 +118,7 @@ const emit = defineEmits<{
|
|||
(ev: 'open-folder', v: Misskey.entities.DriveFolder): void;
|
||||
}>();
|
||||
|
||||
const loadMoreFiles = ref<InstanceType<typeof MkButton>>();
|
||||
const loadMoreFiles = shallowRef<InstanceType<typeof MkButton>>();
|
||||
const fileInput = shallowRef<HTMLInputElement>();
|
||||
|
||||
const folder = ref<Misskey.entities.DriveFolder | null>(null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue