import 'styles/antd.css' ; import type { AppProps } from 'next/app' ; import { AuthProvider } from 'shared/utils/auth/AuthProvider' ; function MyApp ( { Component , pageProps } ) { return ( < AuthProvider > < Component { ... pageProps } / > < /AuthProvider>); } export default MyApp ;