diff --git a/packages/components/src/mobile/link-settings/index.native.js b/packages/components/src/mobile/link-settings/index.native.js index 7b369041e04ea..3af96a6eb7ef5 100644 --- a/packages/components/src/mobile/link-settings/index.native.js +++ b/packages/components/src/mobile/link-settings/index.native.js @@ -152,7 +152,10 @@ function LinkSettings( { function onCloseSettingsSheet() { onSetAttributes(); - onClose(); + + if ( onClose ) { + onClose(); + } } function onChangeOpenInNewTab( value ) {