Remove the usage of `<ReportSummary isRequesting>` as it has no effect (#50751)

The support for such property was removed in woocommerce/woocommerce-admin#4858 ~4 years ago.

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Tomek Wytrębowicz 2024-08-25 19:56:59 +02:00 committed by GitHub
parent a66d2f8dff
commit 53be5776f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 5 additions and 6 deletions

View File

@ -134,7 +134,7 @@ describe( 'ReportSummary', () => {
).toBeInTheDocument();
} );
test( 'should display SummaryListPlaceholder when isRequesting is true', () => {
test( 'should display SummaryListPlaceholder when summaryData.isRequesting is true', () => {
const { container } = renderChart( 'number', null, null, false, true );
expect(

View File

@ -69,7 +69,6 @@ class CategoriesReport extends Component {
<ReportSummary
charts={ charts }
endpoint="products"
isRequesting={ isRequesting }
limitProperties={
isSingleCategoryView
? [ 'products', 'categories' ]

View File

@ -57,7 +57,6 @@ class CouponsReport extends Component {
<ReportSummary
charts={ charts }
endpoint="coupons"
isRequesting={ isRequesting }
query={ chartQuery }
selectedChart={ getSelectedChart( query.chart, charts ) }
filters={ filters }

View File

@ -82,7 +82,6 @@ class ProductsReport extends Component {
mode={ mode }
charts={ charts }
endpoint="products"
isRequesting={ isRequesting }
query={ chartQuery }
selectedChart={ getSelectedChart( query.chart, charts ) }
filters={ filters }

View File

@ -52,7 +52,6 @@ class TaxesReport extends Component {
<ReportSummary
charts={ charts }
endpoint="taxes"
isRequesting={ isRequesting }
query={ chartQuery }
selectedChart={ getSelectedChart( query.chart, charts ) }
filters={ filters }

View File

@ -59,7 +59,6 @@ const VariationsReport = ( props ) => {
mode={ mode }
charts={ charts }
endpoint="variations"
isRequesting={ isRequesting }
query={ chartQuery }
selectedChart={ getSelectedChart( query.chart, charts ) }
filters={ filters }

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Remove the usage of `ReportSummary`s `isRequesting` property as it has no effect.