I’m jumping into meteor for a work project. I have no experience with react or typescript. I have no idea why I’m having an issue with the digital wallet tutorial on university.meteor.com mins 9:27 to 12:12 of section 1.2.1 basically I’m receiving 2 errors:
Error 1: All const [imageUrl, setImageUrl] = useState(initialState:“”); is expecting (,) but when i erase const [imageUrl, setImageUrl] = useState(“”); the error goes away
&
Error 2: onChange is pulling the error that it has Type script annotations
Name
<input id="name"
**onChange={(e:ChangeEvent) => setName(e.target.value)}**
type="text" />
Email
<input type="email"
**onChange={(e:ChangeEvent)=> setEmail(e.target.value)}**
id="email" />
Image Url
<input type="text"
**onChange={(e:ChangeEvent)=> setImageUrl(e.target.value)}**
id="imageUrl" />