mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 15:53:51 +09:00
perf(client): use shallowRef instead of ref for template reference
This commit is contained in:
@ -45,7 +45,7 @@ const { widgetProps, configure } = useWidgetPropsManager(name,
|
||||
emit,
|
||||
);
|
||||
|
||||
let cloud = $ref<InstanceType<typeof MkTagCloud> | null>();
|
||||
let cloud = $shallowRef<InstanceType<typeof MkTagCloud> | null>();
|
||||
let activeInstances = $shallowRef(null);
|
||||
|
||||
function onInstanceClick(i) {
|
||||
|
Reference in New Issue
Block a user