fix: direct state mutation when adding another reminder to a task
This commit is contained in:
parent
138b06752f
commit
44dc8983c8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ const emit = defineEmits(['update:modelValue', 'change'])
|
|||
const reminders = ref<Reminder[]>([])
|
||||
|
||||
onMounted(() => {
|
||||
reminders.value = props.modelValue
|
||||
reminders.value = [...props.modelValue]
|
||||
})
|
||||
|
||||
watch(
|
||||
|
|
Loading…
Reference in a new issue