Add key to the component to fix the warning and unexpected behavior (https://github.com/woocommerce/woocommerce-admin/pull/5661)

This commit is contained in:
Moon 2020-11-18 10:29:18 -08:00 committed by GitHub
parent e5cf64cb14
commit af4c268742
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export const filters = applyFilters( TAXES_REPORT_FILTERS_FILTER, [
NAMESPACE + '/taxes',
( tax ) => ( {
id: tax.id,
key: tax.id,
label: getTaxCode( tax ),
} )
),