import Bootstrap from "./Bootstrap"; import ErrorPage from "./ErrorPage"; import FrozenHead from "react-frozenhead"; import React from "react"; import SupportStore from "../stores/SupportStore"; import { RouteHandler } from "react-router"; import ga from "react-google-analytics"; ga("create", "UA-62785624-1", "auto"); ga("send", "pageview"); export default class App extends React.Component { constructor() { super(); this.state = SupportStore.getState(); this._onChange = () => { this.setState(SupportStore.getState()); }; } componentDidMount() { SupportStore.listen(this._onChange); } componentWillUnmount() { SupportStore.unlisten(this._onChange); } render() { return ( FilePizza - Your files, delivered. ); } }