title: Click listener inside google maps info window
body: <p>This is a project I did some months ago in React.js, hosted on Github pages. I visited today, and the click listener I have on the infowindow is broken. The error I get is: read property 'addEventListener' of null, which means React thinks my selector is not added to the DOM. </p>
  
  <p>This is the live version:</p>
  
  <pre><code>https://stamatisdeli.github.io/Neighborhood-map/
  </code></pre>
  
  <p>this is my repo:</p>
  
  <pre><code>https://github.com/StamatisDeli/Neighborhood-map/blob/master/src/App.js
  </code></pre>
  
  <p>in line 118 I call openModal</p>
  
  <p>More errors occur when I click in a list item, but first things first.
  Thanks!</p>