refactor: add sorting options to library page for Series and BoxSets

This commit is contained in:
Prayag Prajapati committed 2024-07-12 00:34:47 +05:30
1 parent 326b093210
commit c21483ee5b
76 files changed
+7110 -2350

No files matched your search

+23 -22
View File
@@ -9,29 +9,30 @@ const NProgress: React.FC<{ isAnimating: boolean | number }> = ({
isAnimating,
});
return (
<div
style={{
opacity: isFinished ? 0 : 1,
pointerEvents: "none",
transition: `opacity ${animationDuration}ms linear`,
position: "fixed",
top: "0",
left: "0",
right: "0",
zIndex: "10001",
}}
>
<LinearProgress
sx={{
height: 3,
transitionDuration: animationDuration,
if (isAnimating) {
return (
<div
style={{
pointerEvents: "none",
transition: `opacity ${animationDuration}ms linear`,
position: "fixed",
top: "0",
left: "0",
right: "0",
zIndex: "10001",
}}
value={progress * 100}
variant="determinate"
/>
</div>
);
>
<LinearProgress
sx={{
height: 3,
transitionDuration: animationDuration,
}}
value={progress * 100}
variant="determinate"
/>
</div>
);
}
};
export default NProgress;