larsenlarsson 2023-09-29 08:34:55 +02:00 committed by GitHub
parent a0e246eb52
commit 76752dfedb
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ const TotalsFees = ( {
}: TotalsFeesProps ): ReactElement | null => {
return (
<>
{ cartFees.map( ( { id, name, totals }, index ) => {
{ cartFees.map( ( { id, key, name, totals }, index ) => {
const feesValue = parseInt( totals.total, 10 );
if ( ! feesValue ) {
@ -51,6 +51,7 @@ const TotalsFees = ( {
key={ id || `${ index }-${ name }` }
className={ classnames(
'wc-block-components-totals-fees',
'wc-block-components-totals-fees__' + key,
className
) }
currency={ currency }