fix progress bar regression - new one is created on upload anyway
Some checks failed
Nicolium CI / Test and upload artifacts (22.x) (push) Has been cancelled
Nicolium CI / release (push) Has been cancelled
Nicolium CI / deploy (push) Has been cancelled
pl-api CI / Test for pl-api formatting (22.x) (push) Has been cancelled
pl-hooks CI / Test for a successful build (22.x) (push) Has been cancelled

This commit is contained in:
2026-04-11 02:23:24 +00:00
parent 8f2bb61118
commit f18be807c2

View File

@@ -16,9 +16,7 @@ const ProgressBar: React.FC<IProgressBar> = ({ progress, size = 'md' }) => {
const { reduceMotion } = useSettings();
const styles = useSpring({
from: { width: '0%' },
to: { width: `${Math.min(progress * 100, 100)}%` },
reset: true,
immediate: reduceMotion,
});