Skip to content

Commit

Permalink
feat(PictureView): change slideshow time from 5s to 3s
Browse files Browse the repository at this point in the history
  • Loading branch information
japsu committed Sep 27, 2024
1 parent f0f1352 commit 912449c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/PictureView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function PictureView({ album, picture, fromAlbumView, history }: PictureViewProp
const startSlideshow = React.useCallback(() => {
setTimeout(() => {
goTo('next', { slideshow: true })();
}, 5000);
}, 3000);
}, [goTo]);

React.useEffect(() => {
Expand Down

0 comments on commit 912449c

Please sign in to comment.