[fix] Use Vue 3.5 destructuring syntax for props with defaults

Remove deprecated withDefaults usage in NodeConflictDialogContent.vue and use destructuring with default values instead
This commit is contained in:
Jin Yi
2025-08-02 13:05:02 +09:00
parent 5a383478d6
commit 91f8b38953
2 changed files with 2 additions and 4 deletions

2
package-lock.json generated
View File

@@ -18098,4 +18098,4 @@
}
}
}
}
}

View File

@@ -175,9 +175,7 @@ interface Props {
showAfterWhatsNew?: boolean
}
const { showAfterWhatsNew } = withDefaults(defineProps<Props>(), {
showAfterWhatsNew: false
})
const { showAfterWhatsNew = false } = defineProps<Props>()
const { t } = useI18n()
const { conflictedPackages } = useConflictDetection()