@@ -75,16 +172,7 @@ export default function Availability({ user, types }) {
-
- New event type
-
- )
- }>
+ CTA={types.length !== 0 && CreateNewEventDialog}>
{types.map((type) => (
@@ -505,123 +593,7 @@ export default function Availability({ user, types }) {
Event types enable you to share links that show available times on your calendar and allow
people to make bookings with you.
-
-
-
- )}
- {showAddModal && (
-
-
-
-
-
-
-
-
-
-
-
- Add a new event type
-
-
-
- Create a new event type for people to book times with.
-