src/pages/survey/transit.js
// Handler to call on window resize
Handler to call on window resize
Handler to call on window resize
function handleResize() {
      setWindowSize({
        width: window.innerWidth,
        height: window.innerHeight,
      })
    }
function handleResize ( ) { setWindowSize ( { width : window . innerWidth , height : window . innerHeight , } ) }
Handler to call on window resize
Handler to call on window resize
// Set window width/height to state