I really do not like eslint rn

This commit is contained in:
Gabriel Brown 2024-07-21 19:23:01 -05:00
parent 17898fb3a4
commit 68644842fc

View File

@ -19,7 +19,7 @@ const Progress = React.forwardRef<
>
<ProgressPrimitive.Indicator
className="h-full w-full flex-1 bg-primary transition-all"
style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
style={{ transform: `translateX(-${100 - (value ?? 0)}%)` }}
/>
</ProgressPrimitive.Root>
))