summaryrefslogtreecommitdiff
path: root/client/src/components/Rsvp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components/Rsvp.tsx')
-rw-r--r--client/src/components/Rsvp.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/components/Rsvp.tsx b/client/src/components/Rsvp.tsx
index 602f159..5b0ba02 100644
--- a/client/src/components/Rsvp.tsx
+++ b/client/src/components/Rsvp.tsx
@@ -1,11 +1,11 @@
import React from 'react';
import { useMemo } from 'react';
import { useLocation, Navigate, Outlet } from 'react-router-dom';
-import { useSelector } from 'react-redux';
+import { useAppSelector } from '../hooks';
import { selectGuest } from '../slices/auth/guestSlice';
const authenticate = () => {
- const guest = useSelector(selectGuest);
+ const guest = useAppSelector(selectGuest);
return useMemo(() => ({ guest }), [guest]);
};