Skip to content

Commit

Permalink
re-render ReportFooter when transitioning to new chat
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaaron committed Oct 14, 2022
1 parent cfe6b13 commit 23686e4
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,23 +286,25 @@ class ReportScreen extends React.Component {
/>
)
: (
<ReportActionsView
reportActions={this.props.reportActions}
report={this.props.report}
session={this.props.session}
isComposerFullSize={this.props.isComposerFullSize}
isDrawerOpen={this.props.isDrawerOpen}
/>
<>
<ReportActionsView
reportActions={this.props.reportActions}
report={this.props.report}
session={this.props.session}
isComposerFullSize={this.props.isComposerFullSize}
isDrawerOpen={this.props.isDrawerOpen}
/>
<ReportFooter
addWorkspaceRoomErrors={addWorkspaceRoomErrors}
addWorkspaceRoomPendingAction={addWorkspaceRoomPendingAction}
isOffline={this.props.network.isOffline}
reportActions={this.props.reportActions}
report={this.props.report}
isComposerFullSize={this.props.isComposerFullSize}
onSubmitComment={this.onSubmitComment}
/>
</>
)}
<ReportFooter
addWorkspaceRoomErrors={addWorkspaceRoomErrors}
addWorkspaceRoomPendingAction={addWorkspaceRoomPendingAction}
isOffline={this.props.network.isOffline}
reportActions={this.props.reportActions}
report={this.props.report}
isComposerFullSize={this.props.isComposerFullSize}
onSubmitComment={this.onSubmitComment}
/>
</View>
</FullPageNotFoundView>
</ScreenWrapper>
Expand Down

0 comments on commit 23686e4

Please sign in to comment.