summaryrefslogtreecommitdiff
path: root/client/src/components/Home.tsx
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-08-02 12:46:01 -0700
committerMichael Hunteman <michael@huntm.net>2024-08-02 12:46:01 -0700
commit8007b05805d5947ef008a79885ba0b890f67c25d (patch)
tree7e7744eed52237061cd2c093f657b9c1c7c91a1a /client/src/components/Home.tsx
parent491ae774cf68ffaad8e6957d818c6e2e6588016e (diff)
Use snackbar to display RSVP status
Diffstat (limited to 'client/src/components/Home.tsx')
-rw-r--r--client/src/components/Home.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/components/Home.tsx b/client/src/components/Home.tsx
index bfa3fa8..b6ecc47 100644
--- a/client/src/components/Home.tsx
+++ b/client/src/components/Home.tsx
@@ -9,7 +9,7 @@ import p4 from '/EngagmentSession_06.23.2024-267.jpg';
import p5 from '/EngagmentSession_06.23.2024-284.jpg';
function Home() {
- const [currentIndex, setIndex] = useState(0);
+ const [currentIndex, setIndex] = useState<number>(0);
const photos = [p0, p1, p2, p3, p4, p5];
useEffect(() => {