import type { AppProps } from 'next/app'; import { I18nProvider } from 'next-localization'; import Bootstrap from 'src/Bootstrap'; import 'assets/main.scss'; import { SitecorePageProps } from '@sitecore-content-sdk/nextjs'; import { JSX } from 'react'; function App({ Component, pageProps }: AppProps): JSX.Element { const { dictionary, ...rest } = pageProps; return ( <> {/* // Use the next-localization (w/ rosetta) library to provide our translation dictionary to the app. // Note Next.js does not (currently) provide anything for translation, only i18n routing. // If your app is not multilingual, next-localization and references to it can be removed. */} ); } export default App;