I really do not like eslint rn
This commit is contained in:
1 parent
17898fb3a4
commit
68644842fc
1 file changed
+1
-1
@@ -19,7 +19,7 @@ const Progress = React.forwardRef<
|
|||||||
>
|
>
|
||||||
<ProgressPrimitive.Indicator
|
<ProgressPrimitive.Indicator
|
||||||
className="h-full w-full flex-1 bg-primary transition-all"
|
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>
|
</ProgressPrimitive.Root>
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in new issue
Block a user