Files
koodiklinikka.fi/pages/_app.jsx
2019-09-23 16:21:58 +03:00

14 lines
311 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-58806132-1", Router)(MyApp);