score:1

Accepted answer
addLocation({
  ...location,
  image: fileName,
});

Related Query

More Query from same tag