From 69f3c87bade67397add559e4f31a6255482b582d Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Mon, 30 Sep 2024 18:20:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix:=20`ModalSheetView.onModalDi?= =?UTF-8?q?dDismiss`=20Event?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ModalSheetView/ModalSheetView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ModalSheetView/ModalSheetView.tsx b/src/components/ModalSheetView/ModalSheetView.tsx index b109c231..9420e485 100644 --- a/src/components/ModalSheetView/ModalSheetView.tsx +++ b/src/components/ModalSheetView/ModalSheetView.tsx @@ -144,7 +144,7 @@ export const ModalSheetView = React.forwardRef< onModalDidDismiss={(event) => { setShouldExplicitlyMountModalContents(false); - props.onModalDidHide?.(event); + props.onModalDidDismiss?.(event); event.stopPropagation(); }} onModalSheetStateDidChange={(event) => {