Skip to content

Commit d6425c9

Browse files
committed
fix: remove now unnecessary type casting
1 parent 54efd41 commit d6425c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Compare/FacetBarChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
230230
${name}
231231
</span>
232232
<span class="text-base text-[var(--fg)] font-mono tabular-nums text-end">
233-
${(datapoint as VueUiHorizontalBarDatapoint).formattedValue ?? 0}
233+
${datapoint?.formattedValue ?? 0}
234234
</span>
235235
</div>
236236
</div>

0 commit comments

Comments
 (0)