woocommerce/plugins/woocommerce-admin/client/analytics/components/report-error
Tomek Wytrębowicz 9fbebae1a6 Reduce the specificity and complexity of the `ReportError` component (https://github.com/woocommerce/woocommerce-admin/pull/6846)
- Remove unused `isEmpty` prop from ReportError. 
- Remove `isError` prop from ReportError, as it is always set. Also, to reduce confusion that: Could "report error" be not an error?
- Remove default value of `className` prop from `ReportError`, it is unnecesary, as `EmptyContent` takes falsy values as well as `''`.
- Change `ReportError` to a function component.
2021-06-01 12:07:35 +02:00
..
index.js Reduce the specificity and complexity of the `ReportError` component (https://github.com/woocommerce/woocommerce-admin/pull/6846) 2021-06-01 12:07:35 +02:00