summaryrefslogtreecommitdiff
path: root/src/components/Admin.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Admin.tsx')
-rw-r--r--src/components/Admin.tsx11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/components/Admin.tsx b/src/components/Admin.tsx
index 11fbc22..bd1545d 100644
--- a/src/components/Admin.tsx
+++ b/src/components/Admin.tsx
@@ -1,4 +1,3 @@
-import { Paper, Typography } from '@mui/material';
import { useGetGuestsQuery } from '../apiSlice';
function Admin() {
@@ -13,7 +12,7 @@ function Admin() {
let content;
if (isLoading) {
- content = <Typography>Loading...</Typography>
+ content = <p>Loading...</p>
} else if (isSuccess) {
content = JSON.stringify(guests);
} else if (isError) {
@@ -21,12 +20,10 @@ function Admin() {
}
return (
- <Paper>
- <Typography variant="h6">
- Admin
- </Typography>
+ <>
+ <p>Admin</p>
{content}
- </Paper>
+ </>
);
}