Updated ComposeForm, GroupPage to use groupId instead of entire group for prop

• Updated:
- ComposeForm, GroupPage to use groupId instead of entire group for prop
This commit is contained in:
mgabdev
2020-07-14 18:46:43 -05:00
parent 745d8d8a55
commit 5791a5225b
2 changed files with 4 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ class GroupPage extends ImmutablePureComponent {
} = this.props
const groupTitle = !!group ? group.get('title') : ''
const groupId = !!group ? group.get('id') : undefined
return (
<GroupLayout
@@ -62,7 +63,7 @@ class GroupPage extends ImmutablePureComponent {
{
!!relationships && relationships.get('member') &&
<Fragment>
<TimelineComposeBlock size={46} group={group} autoFocus />
<TimelineComposeBlock size={46} groupId={groupId} autoFocus />
<Divider />
</Fragment>
}