summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/components/Registry.tsx2
-rw-r--r--client/src/components/RsvpForm.tsx6
-rw-r--r--client/src/slices/auth/adminSlice.ts2
3 files changed, 3 insertions, 7 deletions
diff --git a/client/src/components/Registry.tsx b/client/src/components/Registry.tsx
index f821212..789fd14 100644
--- a/client/src/components/Registry.tsx
+++ b/client/src/components/Registry.tsx
@@ -31,7 +31,7 @@ function Registry() {
Thank you for your generous gifts! We look forward to seeing you at
the wedding.
</p>
- <Button variant="contained" startIcon={<LaunchIcon />}>
+ <Button variant="contained" endIcon={<LaunchIcon />}>
Registry
</Button>
</Paper>
diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx
index 5fdf390..33ca108 100644
--- a/client/src/components/RsvpForm.tsx
+++ b/client/src/components/RsvpForm.tsx
@@ -267,11 +267,7 @@ function RsvpForm() {
alignItems: 'center',
}}
>
- <Button
- type="submit"
- variant="contained"
- startIcon={<MailIcon />}
- >
+ <Button type="submit" variant="contained" endIcon={<MailIcon />}>
RSVP
</Button>
</div>
diff --git a/client/src/slices/auth/adminSlice.ts b/client/src/slices/auth/adminSlice.ts
index 330fdb8..cc2205e 100644
--- a/client/src/slices/auth/adminSlice.ts
+++ b/client/src/slices/auth/adminSlice.ts
@@ -10,7 +10,7 @@ type AdminAuth = {
const adminSlice = createSlice({
name: 'admin',
- initialState: { guest: undefined, token: undefined } as AdminAuth,
+ initialState: { guests: undefined, token: undefined } as AdminAuth,
reducers: {
setAdmin: (
state,