diff options
Diffstat (limited to 'client/src/components/Rsvp.tsx')
-rw-r--r-- | client/src/components/Rsvp.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/components/Rsvp.tsx b/client/src/components/Rsvp.tsx index d3d9677..ab83cd7 100644 --- a/client/src/components/Rsvp.tsx +++ b/client/src/components/Rsvp.tsx @@ -4,10 +4,10 @@ import { useLocation, Navigate, Outlet } from 'react-router-dom'; import { useSelector } from 'react-redux'; import CssBaseline from '@mui/material/CssBaseline'; import NavBar from './NavBar'; -import { selectCurrentGuest } from '../slices/authSlice'; +import { selectGuest } from '../slices/auth/guestSlice'; const authenticate = () => { - const guest = useSelector(selectCurrentGuest); + const guest = useSelector(selectGuest); return useMemo(() => ({ guest }), [guest]); }; |