Unverified Commit ef7a6e12 authored by Artur Bień's avatar Artur Bień Committed by GitHub

docs: add missing AppProps import (#43136)

parent 08ee7b22
import type { AppProps } from 'next/app'
import { createGlobalStyle, ThemeProvider } from 'styled-components' import { createGlobalStyle, ThemeProvider } from 'styled-components'
const GlobalStyle = createGlobalStyle` const GlobalStyle = createGlobalStyle`
...@@ -20,7 +21,7 @@ const theme: ThemeInterface = { ...@@ -20,7 +21,7 @@ const theme: ThemeInterface = {
}, },
} }
export default function App({ Component, pageProps }) { export default function App({ Component, pageProps }: AppProps) {
return ( return (
<> <>
<GlobalStyle /> <GlobalStyle />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment