Invite modal

This commit is contained in:
Robert Long
2021-12-03 13:17:44 -08:00
parent 8425a177e2
commit 742fdab56d
7 changed files with 65 additions and 54 deletions

View File

@@ -21,7 +21,7 @@ export function Modal(props) {
const { dialogProps, titleProps } = useDialog(props, modalRef);
const closeButtonRef = useRef();
const { buttonProps: closeButtonProps } = useButton({
onPress: () => props.close(),
onPress: () => props.onClose(),
});
return (