refactor: remove redundant calls for getCurrentUser

This commit is contained in:
Prayag Prajapati committed 2024-09-25 20:35:38 +05:30
1 parent e82ff1ff0c
commit 647dcc3690
35 files changed
+651 -690

No files matched your search

+1 -3
View File
@@ -53,8 +53,6 @@ export const CardScroller = ({
},
};
const [carouselRef, setCarouselRef] = useState();
return (
<Box {...boxProps} className="card-scroller-container" mb={1}>
<Box
@@ -79,7 +77,7 @@ export const CardScroller = ({
draggable
responsive={responsive}
arrows
ref={(el) => setCarouselRef(el)}
rtl={false}
className="card-scroller"
customTransition="all .6s"
transitionDuration={600}