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