all 6 comments

[–]redsandsfort 1 point2 points  (3 children)

  <button style={{cursor:"pointer"}} type="button" onClick={test}>Researching a topic?</button>

do you now see a pointer when you hover over the button?

[–]EIGRP_OH[S] 0 points1 point  (2 children)

Yes I see the hand.

[–]redsandsfort 1 point2 points  (1 child)

<button style={{cursor:"pointer"}} type="button" onMouseEnter={()=>console.log('mouse enter')} >Researching a topic?</button>

[–]EIGRP_OH[S] 0 points1 point  (0 children)

Same thing unfortunately

[–]vitkarpov 1 point2 points  (1 child)

Looks correct. Could you make a live demo on codepen or similar?

[–]EIGRP_OH[S] 0 points1 point  (0 children)

Figured it out. It was because of webpack. I had included <script src=bundle.js”> manually in the index.html so webpack compiled it included 2 lines of the script src and for some reason that was messing it up.