Run autofix

This commit is contained in:
Luke Vella 2024-10-13 10:59:15 +01:00
parent cfb9ec8e8a
commit 1a5b2f206d
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
20 changed files with 132 additions and 141 deletions

View file

@ -33,7 +33,7 @@ export const VoteSummaryProgressBar = (props: {
<div
className="h-full bg-green-500 opacity-75 hover:opacity-100"
style={{
width: (props.yes.length / props.total) * 100 + "%",
width: `${(props.yes.length / props.total) * 100}%`,
}}
/>
</TooltipTrigger>
@ -46,7 +46,7 @@ export const VoteSummaryProgressBar = (props: {
<div
className="h-full bg-amber-400 opacity-75 hover:opacity-100"
style={{
width: (props.ifNeedBe.length / props.total) * 100 + "%",
width: `${(props.ifNeedBe.length / props.total) * 100}%`,
}}
/>
</TooltipTrigger>
@ -59,7 +59,7 @@ export const VoteSummaryProgressBar = (props: {
<div
className="h-full bg-gray-300 opacity-75 hover:opacity-100"
style={{
width: (props.no.length / props.total) * 100 + "%",
width: `${(props.no.length / props.total) * 100}%`,
}}
/>
</TooltipTrigger>