From 72857e22987de9b2116f1d807eeb32c3974d9b46 Mon Sep 17 00:00:00 2001 From: "S. Weatherall" Date: Wed, 9 Sep 2020 12:38:07 -0400 Subject: [PATCH] Fix typo in invariant message --- Libraries/ActionSheetIOS/ActionSheetIOS.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/ActionSheetIOS/ActionSheetIOS.js b/Libraries/ActionSheetIOS/ActionSheetIOS.js index 076ab004a56eb3..bc3a935dee298b 100644 --- a/Libraries/ActionSheetIOS/ActionSheetIOS.js +++ b/Libraries/ActionSheetIOS/ActionSheetIOS.js @@ -57,7 +57,7 @@ const ActionSheetIOS = { 'Options must be a valid object', ); invariant(typeof callback === 'function', 'Must provide a valid callback'); - invariant(RCTActionSheetManager, "ActionSheetManager does't exist"); + invariant(RCTActionSheetManager, "ActionSheetManager doesn't exist"); const {tintColor, destructiveButtonIndex, ...remainingOptions} = options; let destructiveButtonIndices = null; @@ -123,7 +123,7 @@ const ActionSheetIOS = { typeof successCallback === 'function', 'Must provide a valid successCallback', ); - invariant(RCTActionSheetManager, "ActionSheetManager does't exist"); + invariant(RCTActionSheetManager, "ActionSheetManager doesn't exist"); RCTActionSheetManager.showShareActionSheetWithOptions( {...options, tintColor: processColor(options.tintColor)}, failureCallback,