I am new to react. I have set up a reducer with the state as an empty object. But when using the .map() function it doesn\'t seem to work on the object? Does the .map only w