score:1

 handleRemove = () => {
    const { cart } = this.props;
    const filteredMap = [...cart].filter(([key, item])=> key !== id)
    return new Map(filteredMap)
};

Related Query

More Query from same tag