Skip to content

Commit

Permalink
refactor: ReportActionsView remove needsLayoutCalculation
Browse files Browse the repository at this point in the history
This prop no longer exists
The calculation seems to be handled differently and this is leftover
  • Loading branch information
kidroca committed Apr 5, 2021
1 parent f3fea9b commit 5d2f079
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pages/home/report/ReportActionsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,13 @@ class ReportActionsView extends React.Component {
* @param {Object} args.item
* @param {Number} args.index
* @param {Function} args.onLayout
* @param {Boolean} args.needsLayoutCalculation
*
* @returns {React.Component}
*/
renderItem({
item,
index,
onLayout,
needsLayoutCalculation,
}) {
return (

Expand All @@ -335,7 +333,6 @@ class ReportActionsView extends React.Component {
action={item.action}
displayAsGroup={this.isConsecutiveActionMadeByPreviousActor(index)}
onLayout={onLayout}
needsLayoutCalculation={needsLayoutCalculation}
/>
</View>
);
Expand Down

0 comments on commit 5d2f079

Please sign in to comment.