title: I want to display my labels "etc vegan, pasta...so on", by using map from firestore?
body: <p>I want to display my labels &quot;etc vegan, pasta...so on&quot;, by using map from firestore but I only find it possible to map out the first object [0]? I want to map out all the options not just one, how can I make this possible?</p>
  <p>This is possible:</p>
  <pre><code>{restaurant.map((option, marker) =&gt; (
  &lt;p key={marker.id}&gt;&lt;strong&gt;{option.selectedOption[0].label}&lt;/strong&gt;&lt;/p&gt;
  ))}
  </code></pre>
  <p>But when removing [0], it dosn't work to map out all objects.</p>
  <p><a href="https://i.stack.imgur.com/tumHT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tumHT.png" alt="From my firestore" /></a></p>