diff --git a/packages/components/src/mobile/bottom-sheet-v2/index.native.js b/packages/components/src/mobile/bottom-sheet-v2/index.native.js index 80fc7222366e4a..4d673e4dd6431a 100644 --- a/packages/components/src/mobile/bottom-sheet-v2/index.native.js +++ b/packages/components/src/mobile/bottom-sheet-v2/index.native.js @@ -109,10 +109,14 @@ const BottomSheetModalWithRef = ( * would simplify migrating to `BottomSheetModal` in the future if the editor * header navigation is rendered by React Native, not the native host app. */ - useImperativeHandle( ref, () => ( { - present: handlePresent, - dismiss: handleDismiss, - } ) ); + useImperativeHandle( + ref, + () => ( { + present: handlePresent, + dismiss: handleDismiss, + } ), + [ handleDismiss, handlePresent ] + ); const handleClose = useCallback( () => { setVisible( false );