}
footer={
+
// If this is an old event, do not give user ability to schedule the event
new Date() > new Date(event.end) ? null : (
+
/* Antd Button has a bug where using href directly will mess up the
- * alignment of the button text so we use onClick instead
+ * alignment of the button text so we use onClick() instead
*/