From c93f091ba8c6f6d9ecf3c9a5c5a17bd532a58f54 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Jan 2023 13:37:32 +0900 Subject: perf(client): use shallowRef instead of ref for template reference --- packages/frontend/src/components/MkNotificationSettingWindow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/frontend/src/components/MkNotificationSettingWindow.vue') diff --git a/packages/frontend/src/components/MkNotificationSettingWindow.vue b/packages/frontend/src/components/MkNotificationSettingWindow.vue index 92165ef476..754d8d687b 100644 --- a/packages/frontend/src/components/MkNotificationSettingWindow.vue +++ b/packages/frontend/src/components/MkNotificationSettingWindow.vue @@ -56,7 +56,7 @@ const props = withDefaults(defineProps<{ let includingTypes = $computed(() => props.includingTypes || []); -const dialog = $ref>(); +const dialog = $shallowRef>(); let typesMap = $ref>({}); let useGlobalSetting = $ref((includingTypes === null || includingTypes.length === 0) && props.showGlobalToggle); -- cgit v1.2.3-freya