mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 12:05:48 +02: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