Show carousel controls initially

pull/38/head
Lim Chee Aun 2022-12-28 20:46:38 +08:00
rodzic c205a43125
commit afb1a75f69
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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