Skip to content

Commit c8aed17

Browse files
committed
perf(package-vulnerabilities): use shallowRef instead deep ref
1 parent e97fafa commit c8aed17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/PackageVulnerabilities.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const severityBadgeColors: Record<OsvSeverityLevel, string> = {
123123
}
124124
125125
// Expand/collapse state
126-
const isExpanded = ref(false)
126+
const isExpanded = shallowRef(false)
127127
128128
// Get highest severity for banner color
129129
const highestSeverity = computed<OsvSeverityLevel>(() => {

0 commit comments

Comments
 (0)