Loading
) : ( - data.map( ( order, i ) => { - // We want the billing address, but shipping can be used as a fallback. - const address = { ...order.shipping, ...order.billing }; - const name = `${ address.first_name } ${ address.last_name }`; - const productsCount = order.line_items.reduce( - ( total, line ) => total + line.quantity, - 0 - ); +