unexpected token: javascript syntax error using object : <p>I am trying to use an object from another javascript file and I have imported the function from the other javascript file. Anyone knows what is wrong with my syntax? </p>

<pre><code>unexpected token 

  29 |   render() {
  30 |     return (
&gt; 31 |       const posts = this.state.posts.map((post)=&gt;
     |       ^
  32 |         &lt;Post url= {post.url}/&gt;);
  33 |     );
  34 |   }
</code></pre>
