Make onHeightChange a required prop of <ConversationHero>

This commit is contained in:
Evan Hahn 2021-09-16 16:44:00 -05:00 committed by GitHub
parent 89fc7d2c0c
commit 11855d1585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View file

@ -418,6 +418,7 @@ const renderHeroRow = () => (
profileName={getProfileName()}
phoneNumber={getPhoneNumber()}
conversationType="direct"
onHeightChange={action('onHeightChange in ConversationHero')}
sharedGroupNames={['NYC Rock Climbers', 'Dinner Party']}
unblurAvatar={action('unblurAvatar')}
updateSharedGroups={noop}