mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
class -> className
This commit is contained in:
parent
6714358bb2
commit
302985dd0e
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ import './ErrorBanner.css';
|
||||||
|
|
||||||
export function ErrorBanner({children}) {
|
export function ErrorBanner({children}) {
|
||||||
return (
|
return (
|
||||||
<div class="errorBanner">
|
<div className="errorBanner">
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,8 +6,8 @@ export function PercentageOverlay({ percentage }) {
|
||||||
if(percentage && percentage > 3) percentage = Math.max(20, percentage < 90 ? percentage : 100)
|
if(percentage && percentage > 3) percentage = Math.max(20, percentage < 90 ? percentage : 100)
|
||||||
|
|
||||||
return percentage > 0 ? (
|
return percentage > 0 ? (
|
||||||
<div class="progressBar">
|
<div className="progressBar">
|
||||||
<div class="progressBarInner" style={{width: `${percentage}%`}}></div>
|
<div className="progressBarInner" style={{width: `${percentage}%`}}></div>
|
||||||
</div>
|
</div>
|
||||||
) : <React.Fragment></React.Fragment>
|
) : <React.Fragment></React.Fragment>
|
||||||
}
|
}
|
Loading…
Reference in a new issue