Fix prebook max alert
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import {
|
||||
Alert,
|
||||
AlertDescription,
|
||||
AlertIcon,
|
||||
AlertTitle,
|
||||
Button,
|
||||
Container,
|
||||
Heading,
|
||||
@@ -130,11 +128,8 @@ export default function () {
|
||||
<Container maxW="container.md">
|
||||
<Alert display={exceededMaxBookings ? undefined : "none"} status="error">
|
||||
<AlertIcon />
|
||||
<AlertTitle>Max pre-bookings exceeded!</AlertTitle>
|
||||
<AlertDescription>
|
||||
You cannot pre-book more than three events. Please wait until you
|
||||
complete an event before trying again.
|
||||
</AlertDescription>
|
||||
You cannot pre-book more than three events at a time. Please wait until
|
||||
you complete an event before trying again.
|
||||
</Alert>
|
||||
<Heading pb="32px">Book an Event</Heading>
|
||||
<Heading mb="8px" size="md">
|
||||
|
||||
Reference in New Issue
Block a user