Make onHeightChange
a required prop of <ConversationHero>
This commit is contained in:
parent
89fc7d2c0c
commit
11855d1585
3 changed files with 17 additions and 2 deletions
|
@ -19,7 +19,7 @@ export type Props = {
|
|||
i18n: LocalizerType;
|
||||
isMe: boolean;
|
||||
membersCount?: number;
|
||||
onHeightChange?: () => unknown;
|
||||
onHeightChange: () => unknown;
|
||||
phoneNumber?: string;
|
||||
sharedGroupNames?: Array<string>;
|
||||
unblurAvatar: () => void;
|
||||
|
@ -134,7 +134,7 @@ export const ConversationHero = ({
|
|||
}
|
||||
|
||||
window.log.info('ConversationHero: calling onHeightChange');
|
||||
onHeightChange?.();
|
||||
onHeightChange();
|
||||
}, [
|
||||
about,
|
||||
conversationType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue