Move polyfill

This commit is contained in:
Ines Montani 2019-02-26 12:25:25 +01:00
parent 5fdce55a1b
commit 761431f5cb
2 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import { navigate } from 'gatsby'
import './src/styles/layout.sass' import './src/styles/layout.sass'
import Juniper from './src/components/juniper' import Juniper from './src/components/juniper'
import 'intersection-observer'
// Workaround to rewrite anchor links // Workaround to rewrite anchor links
const clientSideRewrites = { const clientSideRewrites = {

View File

@ -1,7 +1,6 @@
import React, { useEffect } from 'react' import React, { useEffect } from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import classNames from 'classnames' import classNames from 'classnames'
import 'intersection-observer'
import { useInView } from 'react-intersection-observer' import { useInView } from 'react-intersection-observer'
import { window } from 'browser-monads' import { window } from 'browser-monads'