Skip to content

Scheduling infrastructure for absolutely everyone.

Fix incorrect modal toggle

Bailey Pumfleet3e5ed294a51c
diff --git a/pages/availability/index.tsx b/pages/availability/index.tsx
index a20514cce13..10ab9534e3c 100644
--- a/pages/availability/index.tsx
+++ b/pages/availability/index.tsx
@@ -221,7 +221,7 @@ export default function Availability(props) {
<button type="submit" className="btn btn-primary">
Create
</button>
- <button onClick={toggleChangeTimesModal} type="button" className="btn btn-white mr-2">
+ <button onClick={toggleAddModal} type="button" className="btn btn-white mr-2">
Cancel
</button>
</div>