import React from 'react' import App, { Container } from 'next/app' import { I18n as I18nR, I18nextProvider } from 'react-i18next' import initialI18nInstance from '../i18n' import LanguageSwitch from '../components/LanguageSwitch' export default class MyApp extends App { render () { const { Component, pageProps } = this.props const { i18n, initialI18nStore, initialLanguage } = pageProps || {} return ( {t =>

{t('common:integrates_react-i18next')}

}
) } }