readexpro/pages/_app.js
2019-09-11 15:37:27 -04:00

14 lines
312 B
JavaScript

import React from "react";
import App from "next/app";
import Router from "next/router";
import withGA from "next-ga";
class MyApp extends App {
render() {
const { Component, pageProps } = this.props;
return <Component {...pageProps} />;
}
}
export default withGA("UA-147631342-1", Router)(MyApp);