diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-25 12:44:32 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-25 12:44:32 -0700 |
commit | 096a08708e2310becba56a237ef63b5cf6e3c4c4 (patch) | |
tree | 2924f9aecdcf035599558552cfdb20c2cc18f7d1 /client/src/components/Rsvp.tsx | |
parent | 6aee47e76d7e25206b3778aeebcc341d7b705035 (diff) |
Add admin dashboard
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]); }; |