import { h , render } from 'preact' ; import App from './App' ; require ( 'modern-css-reset' ) ; require ( './css/main.css' ) ; const setRealVH = ( ) => { let vh = window . innerHeight * 0.01 ; document . documentElement . style . setProperty ( '--vh' , `${ vh }px` ) ; } ; window . addEventListener ( 'resize' , setRealVH ) ; window . addEventListener ( 'load' , setRealVH ) ; document . addEventListener ( 'touchstart' , function ( ) { } , false ) ; render ( < App />, document.body);