mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-16 02:04:33 +00:00
WIP
This commit is contained in:
@@ -17,11 +17,6 @@ function trackPageView() {
|
||||
}
|
||||
|
||||
class MyDocument extends Document {
|
||||
static async getInitialProps(ctx) {
|
||||
const initialProps = await Document.getInitialProps(ctx);
|
||||
return { ...initialProps };
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
trackPageView();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user