From 5d2f079a3d90ec29412abb74b9acb6bc252d6ea7 Mon Sep 17 00:00:00 2001 From: Peter Velkov Date: Mon, 5 Apr 2021 12:14:39 +0300 Subject: [PATCH] refactor: ReportActionsView remove `needsLayoutCalculation` This prop no longer exists The calculation seems to be handled differently and this is leftover --- src/pages/home/report/ReportActionsView.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/home/report/ReportActionsView.js b/src/pages/home/report/ReportActionsView.js index f9068474d32a..dd803f9dda2a 100644 --- a/src/pages/home/report/ReportActionsView.js +++ b/src/pages/home/report/ReportActionsView.js @@ -311,7 +311,6 @@ class ReportActionsView extends React.Component { * @param {Object} args.item * @param {Number} args.index * @param {Function} args.onLayout - * @param {Boolean} args.needsLayoutCalculation * * @returns {React.Component} */ @@ -319,7 +318,6 @@ class ReportActionsView extends React.Component { item, index, onLayout, - needsLayoutCalculation, }) { return ( @@ -335,7 +333,6 @@ class ReportActionsView extends React.Component { action={item.action} displayAsGroup={this.isConsecutiveActionMadeByPreviousActor(index)} onLayout={onLayout} - needsLayoutCalculation={needsLayoutCalculation} /> );