mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-04 03:04:06 +02:00
perf(client): use shallowRef instead of ref for template reference
This commit is contained in:
@@ -35,7 +35,7 @@ const props = defineProps<{
|
||||
let antenna = $ref(null);
|
||||
let queue = $ref(0);
|
||||
let rootEl = $shallowRef<HTMLElement>();
|
||||
let tlEl = $ref<InstanceType<typeof XTimeline>>();
|
||||
let tlEl = $shallowRef<InstanceType<typeof XTimeline>>();
|
||||
const keymap = $computed(() => ({
|
||||
't': focus,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user