From 3fc3ea29ee8752e1abb96c6988fac02889a4d07f Mon Sep 17 00:00:00 2001 From: Sebastian Weise Date: Tue, 21 Nov 2023 09:20:07 +0100 Subject: [PATCH 1/2] Disable localeDetection --- packages/unsaged/next-i18next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/unsaged/next-i18next.config.js b/packages/unsaged/next-i18next.config.js index a478a639..2e015ea8 100644 --- a/packages/unsaged/next-i18next.config.js +++ b/packages/unsaged/next-i18next.config.js @@ -1,5 +1,6 @@ module.exports = { i18n: { + localeDetection: false, defaultLocale: 'en', locales: [ "bn", From 07fafe11f5885749680572704d18221589ea0a70 Mon Sep 17 00:00:00 2001 From: Jorge Menjivar Date: Tue, 21 Nov 2023 13:48:12 -0800 Subject: [PATCH 2/2] [fix] relative import --- packages/unsaged/utils/app/auth/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unsaged/utils/app/auth/helpers.ts b/packages/unsaged/utils/app/auth/helpers.ts index 9448e1d2..8f52313c 100644 --- a/packages/unsaged/utils/app/auth/helpers.ts +++ b/packages/unsaged/utils/app/auth/helpers.ts @@ -1,4 +1,4 @@ -import { getSession } from '@/node_modules/next-auth/react'; +import { getSession } from 'next-auth/react'; import { Session, User } from '@/types/auth';