From 096a08708e2310becba56a237ef63b5cf6e3c4c4 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@huntm.net>
Date: Sun, 25 Aug 2024 12:44:32 -0700
Subject: Add admin dashboard

---
 client/src/components/Rsvp.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'client/src/components/Rsvp.tsx')

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]);
 };
 
-- 
cgit v1.2.3

