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", 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';