Merge pull request #20 from Ryderjj89/dev

Fixing buttons on the Thank you page
This commit is contained in:
Joshua Ryder
2025-06-04 19:07:34 -04:00
committed by GitHub

View File

@@ -399,19 +399,19 @@ const RSVPForm: React.FC = () => {
</Typography> </Typography>
<Box sx={{ display: 'flex', gap: 2, justifyContent: 'center' }}> <Box sx={{ display: 'flex', gap: 2, justifyContent: 'center' }}>
<Button <Button
variant="contained" variant="outlined"
color="primary" color="primary"
onClick={() => navigate('/')} onClick={() => navigate('/')}
> >
Back to Events Back to Events
</Button> </Button>
<Button <Button
variant="outlined" variant="contained"
color="primary" color="primary"
onClick={() => navigate('/')} onClick={() => navigate('/view/events/${slug}')}
sx={{ flexGrow: 1 }} sx={{ flexGrow: 1 }}
> >
Back to Events View RSVPs
</Button> </Button>
</Box> </Box>
</Paper> </Paper>