From 30526eb135b8d11a7b9ee950e8aca1aa50c7c4f2 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Sat, 8 Feb 2025 23:48:04 +0330 Subject: [PATCH] new changes --- frontend/components/global/Switch.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/global/Switch.vue b/frontend/components/global/Switch.vue index ad15817..1931ca2 100644 --- a/frontend/components/global/Switch.vue +++ b/frontend/components/global/Switch.vue @@ -5,7 +5,7 @@ type Props = { modelValue: boolean; }; -type Emit = { +type Emits = { "update:modelValue": [value: boolean]; }; @@ -17,7 +17,7 @@ const { modelValue } = toRefs(props); // emit -const emit = defineEmits(); +const emit = defineEmits(); // computed