kopia lustrzana https://github.com/cheeaun/phanpy
Show carousel controls initially
rodzic
c205a43125
commit
afb1a75f69
|
@ -1269,7 +1269,7 @@ function Carousel({ mediaAttachments, index = 0, onClose = () => {} }) {
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
const [showControls, setShowControls] = useState(false);
|
const [showControls, setShowControls] = useState(true);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let handleSwipe = () => {
|
let handleSwipe = () => {
|
||||||
|
|
Ładowanie…
Reference in New Issue