Skip to content

Commit

Permalink
Next+Emotion: Remove cache from app to match instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-rogerson committed Jan 11, 2021
1 parent cc51ed9 commit 69ed474
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions next-emotion/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { GlobalStyles } from 'twin.macro'
import { CacheProvider } from '@emotion/react'
import { cache } from '@emotion/css'

const App = ({ Component, pageProps }) => (
<CacheProvider value={cache}>
<div>
<GlobalStyles />
<Component {...pageProps} />
</CacheProvider>
</div>
)

export default App

0 comments on commit 69ed474

Please sign in to comment.