title: Component is not rendering in react js
body: <p>Why this component is not rendering in react js.It shows the error message
  <strong>Unhandled Runtime Error
  Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports</strong>.</p>
  <p>This is my component</p>
  <pre><code>function Test({session}) {
      const RenderPage=fetchComment &amp;&amp;(
                  fetchComment?.map((comment)=&gt;{
                      return &lt;LoadComment
                      key={i}
                      timestamp={comment.timestamp?.toDate()}
                      comment={comment.comment}
                      image={comment.image}
                      user={comment.user} /&gt;
                  })
                  )
  return (
  &lt;RenderPage&gt;&lt;/RenderPage&gt;
  )
  }
  </code></pre>