diff --git a/web/cashtab/src/components/Configure/Configure.js b/web/cashtab/src/components/Configure/Configure.js
--- a/web/cashtab/src/components/Configure/Configure.js
+++ b/web/cashtab/src/components/Configure/Configure.js
@@ -241,6 +241,7 @@
const [newWalletNameIsValid, setNewWalletNameIsValid] = useState(null);
const [walletDeleteValid, setWalletDeleteValid] = useState(null);
const [seedInput, openSeedInput] = useState(false);
+ const [langCheck, setLangCheck] = useState(false);
const showPopulatedDeleteWalletModal = walletInfo => {
setWalletToBeDeleted(walletInfo);
@@ -281,6 +282,16 @@
updateSavedWallets(wallet);
}, [wallet]);
+ useEffect(() => {
+ console.log(langCheck);
+ const langVar = navigator.languages;
+ console.log(langVar);
+ if (langVar.includes('id')) {
+ setLangCheck(true);
+ return console.log('conditions met, langCheck set to true');
+ }
+ }, []);
+
// Need this function to ensure that savedWallets are updated on new wallet creation
const updateSavedWalletsOnCreate = async importMnemonic => {
// Event("Category", "Action", "Label")
@@ -506,6 +517,14 @@
type="warning"
showIcon
/>
+ {langCheck && (
+
+ )}
{wallet && wallet.mnemonic && (