diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-03 14:47:30 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-03 14:47:30 -0700 |
commit | e8d570db936bde2fd0bb5cde5ffe274d72d5c90c (patch) | |
tree | 57176b4ddbacda73d74f2085677b73e86deac609 /client | |
parent | 3264320e1db9ddbc3555592e9c5d87affaa8f239 (diff) |
Speed up carousel
Diffstat (limited to 'client')
-rw-r--r-- | client/src/components/Home.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/components/Home.tsx b/client/src/components/Home.tsx index b6ecc47..f735195 100644 --- a/client/src/components/Home.tsx +++ b/client/src/components/Home.tsx @@ -17,7 +17,7 @@ function Home() { setIndex((prevIndex) => prevIndex === photos.length - 1 ? 0 : prevIndex + 1 ); - }, 5000); + }, 3000); return () => clearInterval(interval); }, [photos.length]); |