From 2133253836de428e58b4ba1c9b7e863485b6b870 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Sat, 21 Sep 2024 08:00:39 -0700 Subject: Use snackbar globally --- client/src/components/Admin.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'client/src/components/Admin.tsx') diff --git a/client/src/components/Admin.tsx b/client/src/components/Admin.tsx index 6e772ab..ab75976 100644 --- a/client/src/components/Admin.tsx +++ b/client/src/components/Admin.tsx @@ -2,8 +2,6 @@ import React from 'react'; import { useMemo } from 'react'; import { useLocation, Navigate, Outlet } from 'react-router-dom'; import { useSelector } from 'react-redux'; -import CssBaseline from '@mui/material/CssBaseline'; -import NavBar from './NavBar'; import { selectGuests } from '../slices/auth/adminSlice'; const authenticate = () => { @@ -16,11 +14,7 @@ function Rsvp() { const location = useLocation(); return auth?.guests ? ( - <> - - - - + ) : ( ); -- cgit v1.2.3