diff --git a/ts/components/AddGroupMemberErrorDialog.stories.tsx b/ts/components/AddGroupMemberErrorDialog.stories.tsx index 0e53eb033f..31730ae2f8 100644 --- a/ts/components/AddGroupMemberErrorDialog.stories.tsx +++ b/ts/components/AddGroupMemberErrorDialog.stories.tsx @@ -26,10 +26,7 @@ story.add("Can't add a contact", () => ( )); diff --git a/ts/components/AddGroupMemberErrorDialog.tsx b/ts/components/AddGroupMemberErrorDialog.tsx index 296ab088bb..083d07b70c 100644 --- a/ts/components/AddGroupMemberErrorDialog.tsx +++ b/ts/components/AddGroupMemberErrorDialog.tsx @@ -18,12 +18,7 @@ export enum AddGroupMemberErrorDialogMode { type PropsDataType = | { mode: AddGroupMemberErrorDialogMode.CantAddContact; - contact: { - name?: string; - phoneNumber?: string; - profileName?: string; - title: string; - }; + contact: { title: string }; } | { mode: AddGroupMemberErrorDialogMode.MaximumGroupSize; @@ -52,16 +47,7 @@ export const AddGroupMemberErrorDialog: FunctionComponent = props => , - ]} + components={[]} /> ); break; diff --git a/ts/components/CallNeedPermissionScreen.tsx b/ts/components/CallNeedPermissionScreen.tsx index 4cee279ecc..799e2ca59e 100644 --- a/ts/components/CallNeedPermissionScreen.tsx +++ b/ts/components/CallNeedPermissionScreen.tsx @@ -64,7 +64,7 @@ export const CallNeedPermissionScreen: React.FC = ({ ]} + components={[]} />

diff --git a/ts/components/CallingParticipantsList.tsx b/ts/components/CallingParticipantsList.tsx index b3a1245733..db246cd303 100644 --- a/ts/components/CallingParticipantsList.tsx +++ b/ts/components/CallingParticipantsList.tsx @@ -115,7 +115,6 @@ export const CallingParticipantsList = React.memo( ) : ( <> diff --git a/ts/components/CompositionArea.tsx b/ts/components/CompositionArea.tsx index 50f96caafa..5717e14a9a 100644 --- a/ts/components/CompositionArea.tsx +++ b/ts/components/CompositionArea.tsx @@ -187,14 +187,11 @@ export const CompositionArea = ({ isMissingMandatoryProfileSharing, left, messageRequestsEnabled, - name, onAccept, onBlock, onBlockAndReportSpam, onDelete, onUnblock, - phoneNumber, - profileName, title, // GroupV1 Disabled Actions isGroupV1AndDisabled, @@ -425,9 +422,6 @@ export const CompositionArea = ({ onUnblock={onUnblock} onDelete={onDelete} onAccept={onAccept} - name={name} - profileName={profileName} - phoneNumber={phoneNumber} title={title} /> ); @@ -478,9 +472,6 @@ export const CompositionArea = ({ onBlockAndReportSpam={onBlockAndReportSpam} onDelete={onDelete} onAccept={onAccept} - name={name} - profileName={profileName} - phoneNumber={phoneNumber} title={title} /> ); diff --git a/ts/components/ContactPill.tsx b/ts/components/ContactPill.tsx index 008df364e5..8cb47fa72e 100644 --- a/ts/components/ContactPill.tsx +++ b/ts/components/ContactPill.tsx @@ -66,12 +66,8 @@ export const ContactPill: FunctionComponent = ({ />