1
0
Fork 0

Show carousel controls initially

This commit is contained in:
Lim Chee Aun 2022-12-28 20:46:38 +08:00
parent c205a43125
commit afb1a75f69

View file

@ -1269,7 +1269,7 @@ function Carousel({ mediaAttachments, index = 0, onClose = () => {} }) {
}
}, 100);
const [showControls, setShowControls] = useState(false);
const [showControls, setShowControls] = useState(true);
useEffect(() => {
let handleSwipe = () => {