Update link & sync UI

This commit is contained in:
trevor-signal 2024-12-19 15:46:50 -05:00 committed by GitHub
commit 6f1d767c72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 293 additions and 119 deletions

View file

@ -7,9 +7,16 @@ export function ProgressBar({
fractionComplete,
isRTL,
}: {
fractionComplete: number;
fractionComplete: number | null;
isRTL: boolean;
}): JSX.Element {
if (fractionComplete == null) {
return (
<div className="ProgressBar">
<div className="ProgressBar__fill ProgressBar__fill--spinning" />
</div>
);
}
return (
<div className="ProgressBar">
<div