Disabled i18next debug mode in development

- I didn't realise how annoying this would be so this commit disables it
This commit is contained in:
Daniel Lockyer 2023-03-16 14:06:38 +01:00
parent 2d7e5753d7
commit 0273ba2066
No known key found for this signature in database

View File

@ -10,7 +10,6 @@ module.exports = (lng = 'en', ns = 'portal') => {
const i18nextInstance = i18next.createInstance(); const i18nextInstance = i18next.createInstance();
i18nextInstance.init({ i18nextInstance.init({
lng, lng,
debug: process.env.NODE_ENV === 'development',
// allow keys to be phrases having `:`, `.` // allow keys to be phrases having `:`, `.`
nsSeparator: false, nsSeparator: false,