fix: direct state mutation when adding another reminder to a task
This commit is contained in:
@ -66,7 +66,7 @@ const emit = defineEmits(['update:modelValue', 'change'])
|
||||
const reminders = ref<Reminder[]>([])
|
||||
|
||||
onMounted(() => {
|
||||
reminders.value = props.modelValue
|
||||
reminders.value = [...props.modelValue]
|
||||
})
|
||||
|
||||
watch(
|
||||
|
Reference in New Issue
Block a user