loader fix
This commit is contained in:
@@ -75,13 +75,13 @@ type LoaderModalWithStatusProps = {
|
||||
const LoaderModalWithStatus = ({ status }: LoaderModalWithStatusProps) => {
|
||||
return (
|
||||
<>
|
||||
{status !== 0 && (
|
||||
<div className="relative h-7 overflow-hidden">
|
||||
<div className="flex flex-col items-center duration-300">
|
||||
{status}%
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<div
|
||||
className={`relative h-7 overflow-hidden ${
|
||||
status === 0 ? "opacity-0" : ""
|
||||
}`}
|
||||
>
|
||||
<div className="flex flex-col items-center duration-300">{status}%</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user