diff --git a/lib/hooks/relationship-prompt.js b/lib/hooks/relationship-prompt.js --- a/lib/hooks/relationship-prompt.js +++ b/lib/hooks/relationship-prompt.js @@ -65,16 +65,12 @@ const dispatchActionPromise = useDispatchActionPromise(); const onButtonPress = React.useCallback( (action: RelationshipAction) => { - invariant( - otherUserInfo, - 'User info should be present when a button is clicked', - ); dispatchActionPromise( updateRelationshipsActionTypes, updateRelationship(action), ); }, - [dispatchActionPromise, otherUserInfo, updateRelationship], + [dispatchActionPromise, updateRelationship], ); const blockUser = React.useCallback(