Add crisp changes & auto triggers.

This commit is contained in:
Patrick Fic
2021-06-29 13:45:05 -07:00
parent d9d3c899a1
commit eaa134d474
3 changed files with 13 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import LanguageDetector from "i18next-browser-languagedetector";
import { initReactI18next } from "react-i18next";
import en_Translation from "./en_us/common.json";
import fr_Translation from "./fr/common.json";
import es_Translation from "./es/common.json";
import fr_Translation from "./fr/common.json";
// the translations
// (tip move them in a JSON file and import them)
@@ -23,9 +23,7 @@ i18n
debug: process.env.NODE_ENV === "production" ? false : true,
//keySeparator: false, // we do not use keys in form messages.welcome
react: {
wait: true,
},
interpolation: {
escapeValue: false, // react already safes from xss
},