diff --git a/src/features/compose/components/compose-form.tsx b/src/features/compose/components/compose-form.tsx index 3dcdc8c52..9dd2cee37 100644 --- a/src/features/compose/components/compose-form.tsx +++ b/src/features/compose/components/compose-form.tsx @@ -61,10 +61,10 @@ interface IComposeForm { clickableAreaRef?: React.RefObject; event?: string; group?: string; - extra?: React.ReactNode; + withAvatar?: boolean; } -const ComposeForm = ({ id, shouldCondense, autoFocus, clickableAreaRef, event, group, extra }: IComposeForm) => { +const ComposeForm = ({ id, shouldCondense, autoFocus, clickableAreaRef, event, group, withAvatar }: IComposeForm) => { const history = useHistory(); const intl = useIntl(); const dispatch = useAppDispatch(); @@ -301,10 +301,8 @@ const ComposeForm = ({ id, shouldCondense, autoFocus, clickab - {extra &&
{extra}
} -
diff --git a/src/features/group/group-timeline.tsx b/src/features/group/group-timeline.tsx index 606f252d8..935f2d4bb 100644 --- a/src/features/group/group-timeline.tsx +++ b/src/features/group/group-timeline.tsx @@ -77,6 +77,7 @@ const GroupTimeline: React.FC = (props) => { shouldCondense autoFocus={false} group={groupId} + withAvatar />
diff --git a/src/pages/home-page.tsx b/src/pages/home-page.tsx index 08370963a..175384bcb 100644 --- a/src/pages/home-page.tsx +++ b/src/pages/home-page.tsx @@ -73,6 +73,7 @@ const HomePage: React.FC = ({ children }) => { shouldCondense autoFocus={false} clickableAreaRef={composeBlock} + withAvatar />