Skip to content

Commit e2a2a69

Browse files
authored
fix
1 parent ff85c99 commit e2a2a69

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/components/Package/Replacement.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ const nodeVersion = computed(() => {
1414
return nodeEngine?.minVersion || null
1515
})
1616
17-
const replacementDescription =
18-
props.replacement.type === 'documented'
19-
? null
20-
: useMarkdown(() => ({
21-
text: props.replacement.description ?? '',
17+
const replacementDescription =useMarkdown(() => ({
18+
text: (props.replacement as {description?:string}).description ?? '',
2219
}))
2320
</script>
2421

0 commit comments

Comments
 (0)