We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd09189 commit 5ba648fCopy full SHA for 5ba648f
src/components/LoadingBar.tsx
@@ -10,7 +10,7 @@ export const LoadingBar = ({ value }: LoadingBarProps): JSX.Element => {
10
11
useEffect(() => {
12
if (ref.current) {
13
- ref.current.style.width = value + "%";
+ ref.current.style.width = value * 100 + "%";
14
}
15
}, [value]);
16
0 commit comments