import App , { Container } from 'next/app' ; import React from 'react' ; import { ThemeProvider } from 'styled-components' ; import { GlobalStyles } from '@/styles/GlobalStyles' ; import { Provider , Stores } from '@/stores' ; class ReactApp extends App < any > { public render ( ) { const { Component , pageProps } = this . props ; return ( < Container > < Provider { ... Stores } > < GlobalStyles /> < ThemeProvider theme = { { } } > < Component { ... pageProps } / > < /ThemeProvider> < /Provider> < /Container>); } } export default ReactApp ;