upgrade to next.js 12 (#1111)
This commit is contained in:
1 parent
b82f2be391
commit
0ee523643d
7 files changed
+140
-297
No files matched your search
@@ -23,7 +23,9 @@ type AppPropsWithChildren = AppProps & {
|
||||
};
|
||||
|
||||
const CustomI18nextProvider = (props: AppPropsWithChildren) => {
|
||||
const { i18n, locale } = trpc.useQuery(["viewer.i18n"]).data ?? {};
|
||||
const { i18n, locale } = trpc.useQuery(["viewer.i18n"]).data ?? {
|
||||
locale: "en",
|
||||
};
|
||||
|
||||
const passedProps = {
|
||||
...props,
|
||||
|
||||
Reference in new issue
Block a user