loader fix

This commit is contained in:
2024-03-07 17:27:50 +05:00
parent 1df398ed5c
commit 20f6192436
+7 -7
View File
@@ -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>
</>
);
};