Skip to content

Commit

Permalink
Fixing Progress component max value
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Oct 26, 2023
1 parent d978404 commit 9333715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Progress/Progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface ProgressProps {

export const Progress = (props: ProgressProps) => {
const { value, color = 'positive' } = props
const percent = value * 100
const percent = Math.min(value * 100, 100)

return (
<Box
Expand Down

0 comments on commit 9333715

Please sign in to comment.