aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 4e060cf..1a3058d 100644
--- a/src/App.js
+++ b/src/App.js
@@ -32,7 +32,7 @@ function App() {
32 32
33 const htmlDirection = (languageID) => { 33 const htmlDirection = (languageID) => {
34 languageID = languageID || i18n.language; 34 languageID = languageID || i18n.language;
35 const rtl = Translations.filter((t) => t.id === languageID)[0].rtl; 35 const rtl = Translations.filter((t) => t.id === languageID)[0]?.rtl;
36 return rtl ? 'rtl' : 'ltr'; 36 return rtl ? 'rtl' : 'ltr';
37 }; 37 };
38 38