Skip to content

Commit 160694d

Browse files
committed
Make onClose not optional
1 parent 4ef0f29 commit 160694d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/Travel/TravelUpgrade.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function TravelUpgrade({route}: TravelUpgradeProps) {
5555
onClose={onClose}
5656
onModalHide={onClose}
5757
onBackdropPress={() => {
58-
onClose?.();
58+
onClose();
5959
Navigation.dismissModal();
6060
}}
6161
enableEdgeToEdgeBottomSafeAreaPadding

0 commit comments

Comments
 (0)