Skip to content

Commit 9627bc3

Browse files
committed
remove ColorMode from next app
no longer required
1 parent fbdd88e commit 9627bc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/next/pages/_app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import App from 'next/app'
3-
import { ThemeProvider, Styled, ColorMode } from 'theme-ui'
3+
import { ThemeProvider, Styled } from 'theme-ui'
44

55
import Header from '../components/Header'
66
import theme from '../src/theme'
@@ -22,7 +22,6 @@ class MyApp extends App {
2222
const { Component, pageProps } = this.props
2323
return (
2424
<ThemeProvider theme={theme}>
25-
<ColorMode />
2625
<Header />
2726
<Styled.root>
2827
<Component {...pageProps} />

0 commit comments

Comments
 (0)