Answers for "unexpected token react"

0

unexpected token react

check the end of your code its missing a single }
// return (
    //<div>
    // <div>welcome tourist</div>
    // <div>welcome local tourist</div>
    //</div>
    // );
  }


export default UserGreetings; //this has unexpected token error

 // return (
    //<div>
    // <div>welcome tourist</div>
    // <div>welcome local tourist</div>
    //</div>
    // );
  }
}

export default UserGreetings; //this one has no eeror
Posted by: Guest on October-23-2021

Code answers related to "unexpected token react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language