Skip to content

Commit

Permalink
Merge pull request #11853 from Expensify/marcaaron-enableNonLegacyDrawer
Browse files Browse the repository at this point in the history
Re-render ReportFooter when transitioning to new chat
  • Loading branch information
yuwenmemon authored Oct 14, 2022
2 parents 0694245 + 23686e4 commit dc28813
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 dc28813

Please sign in to comment.