diff options
author | Michael Hunteman <michael@huntm.net> | 2024-09-02 10:55:57 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-09-02 10:55:57 -0700 |
commit | 4d920cc13f1a3fa0d3551e78a5a8f0ff8b05046e (patch) | |
tree | f44f89e71e8941ae8502d503cf0d7f5a3a1d062d | |
parent | 0853de877117f563d0d01566a519c938356a6529 (diff) |
Make start icons end icons
-rw-r--r-- | client/src/components/Registry.tsx | 2 | ||||
-rw-r--r-- | client/src/components/RsvpForm.tsx | 6 | ||||
-rw-r--r-- | client/src/slices/auth/adminSlice.ts | 2 |
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, |