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