title: Objects are not valid as a React child getting error when adding div?
body: <p>I am just rendering the data and display in between <code>divs</code> but I am getting error this</p>
  
  <blockquote>
    <p>Objects are not valid as a React child (found: Wed Dec 09 1998
    00:00:00 GMT+0530 (India Standard Time)). If you meant to render a
    collection of children, use an array instead.</p>
  </blockquote>
  
  <pre><code>&lt;Fragment key={String(index) + String(i)}&gt;
                      &lt;div&gt;{displaytext}&lt;/div&gt;
                      &lt;div&gt;{value}&lt;/div&gt;
                    &lt;/Fragment&gt;
  </code></pre>
  
  <p>Only issue is on this line <code>&lt;div&gt;{value}&lt;/div&gt;</code> if I remove this line everything works fine.If I add this line I am getting above error why ?
  here is my code
  <a href="https://codesandbox.io/s/ooj2wowy9q" rel="noreferrer">https://codesandbox.io/s/ooj2wowy9q</a></p>