upgrade to next.js 12 (#1111)

This commit is contained in:
Alex Johansson authored and GitHub committed 2021-11-03 14:02:17 +00:00
1 parent b82f2be391
commit 0ee523643d
7 files changed
+140 -297

No files matched your search

+3 -1
View File
@@ -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,