We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6f6f0 commit 148c0afCopy full SHA for 148c0af
src/html.js
@@ -1,6 +1,10 @@
1
import React from 'react'
2
import PropTypes from 'prop-types'
3
4
+import { inject } from '@vercel/analytics'
5
+
6
+inject()
7
8
export default class HTML extends React.Component {
9
render() {
10
return (
src/layout/index.jsx
@@ -8,10 +8,6 @@ import { rhythm } from '../utils/typography'
import './index.scss'
11
-import { inject } from '@vercel/analytics'
12
-
13
-inject()
14
15
export const Layout = ({ location, title, children }) => {
16
const rootPath = `${__PATH_PREFIX__}/`
17
0 commit comments