1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

apply suggestion

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
grafixeyehero 2024-07-15 20:39:57 +03:00
parent 4562f34995
commit 3adf4e8651

View file

@ -88,15 +88,11 @@ const RefreshIndicator: FC<RefreshIndicatorProps> = ({ item, className }) => {
const progressringClass = classNames('progressring', className); const progressringClass = classNames('progressring', className);
return ( return showProgressBar ? (
<div> <div className={progressringClass}>
{showProgressBar && ( <CircularProgressWithLabel value={Math.floor(progress)} />
<div className={progressringClass}>
<CircularProgressWithLabel value={Math.floor(progress)} />
</div>
)}
</div> </div>
); ) : null;
}; };
export default RefreshIndicator; export default RefreshIndicator;