From 780bfd6292b7b55507498733ac070cdce42dc9dd Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Tue, 31 Oct 2023 10:32:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Use=20session=20lanugage=20inste?= =?UTF-8?q?ad=20of=20locale=20for=20crowdin=20live-translate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index fb39baf95..0af2adbeb 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -101,7 +101,7 @@ function App( return ( <> - {pageProps.session.user.language === 'cr' && ( + {pageProps.session && pageProps.session.user.language === 'cr' && ( <>