Alterar o valor no Array React
setOfficeSpace([...officeSpace, { ...item, number: 1, type: item.key }]);
Mystic Dev
setOfficeSpace([...officeSpace, { ...item, number: 1, type: item.key }]);