chore: remove next-i18next (#1242)

This commit is contained in:
Himself65
2023-03-01 16:11:24 -06:00
committed by GitHub
parent 3afecc8ee7
commit 5cda4a5ebc
4 changed files with 193 additions and 93 deletions

View File

@@ -1,7 +1,7 @@
import '@blocksuite/editor/themes/affine.css';
import '../styles/globals.css';
import { appWithTranslation, createI18n, I18nextProvider } from '@affine/i18n';
import { createI18n, I18nextProvider } from '@affine/i18n';
import createCache from '@emotion/cache';
import { CacheProvider } from '@emotion/react';
import { Provider } from 'jotai';
@@ -93,4 +93,4 @@ const App = function App({ Component, pageProps }: AppPropsWithLayout) {
);
};
export default appWithTranslation(App as any);
export default App;