import React from 'react' import AppProvider from './src/store/provider' import wrapPageElementWithTransition from './src/helpers/wrapPageElement' import './src/styles/global.scss' // IntersectionObserver polyfill for gatsby-image (Safari, IE) if (typeof window !== 'undefined' && !window.IntersectionObserver) { import('intersection-observer') } // React Context in Browser // eslint-disable-next-line export const wrapRootElement = ({ element }) => { return {element} } // Page Transitions & Layout export const wrapPageElement = wrapPageElementWithTransition