class -> className

This commit is contained in:
James Hawkins 2021-08-04 13:54:34 +01:00
parent 6714358bb2
commit 302985dd0e
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import './ErrorBanner.css';
export function ErrorBanner({children}) {
return (
<div class="errorBanner">
<div className="errorBanner">
{children}
</div>
)

View File

@ -6,8 +6,8 @@ export function PercentageOverlay({ percentage }) {
if(percentage && percentage > 3) percentage = Math.max(20, percentage < 90 ? percentage : 100)
return percentage > 0 ? (
<div class="progressBar">
<div class="progressBarInner" style={{width: `${percentage}%`}}></div>
<div className="progressBar">
<div className="progressBarInner" style={{width: `${percentage}%`}}></div>
</div>
) : <React.Fragment></React.Fragment>
}