Skip to content

Commit fdd8983

Browse files
[autofix.ci] apply automated fixes
1 parent 663f2d4 commit fdd8983

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

app/components/OgImage/Compare.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ const ACCENT_COLORS = ['#60a5fa', '#f472b6', '#34d399', '#fbbf24']
1616
1717
const displayPackages = computed(() => {
1818
const raw = props.packages
19-
const list = typeof raw === 'string'
20-
? raw.split(',').map(p => p.trim()).filter(Boolean)
21-
: raw
19+
const list =
20+
typeof raw === 'string'
21+
? raw
22+
.split(',')
23+
.map(p => p.trim())
24+
.filter(Boolean)
25+
: raw
2226
return list.slice(0, 4)
2327
})
2428
</script>
@@ -57,7 +61,8 @@ const displayPackages = computed(() => {
5761
class="opacity-80 tracking-[-0.1em]"
5862
:style="{ color: primaryColor }"
5963
style="margin-left: -1rem; margin-right: 0.5rem"
60-
>./</span>compare
64+
>./</span
65+
>compare
6166
</h1>
6267
</div>
6368

@@ -78,9 +83,7 @@ const displayPackages = computed(() => {
7883
>
7984
{{ pkg }}
8085
</span>
81-
<span v-if="index < displayPackages.length - 1">
82-
vs
83-
</span>
86+
<span v-if="index < displayPackages.length - 1"> vs </span>
8487
</template>
8588
</div>
8689
</div>

0 commit comments

Comments
 (0)