diff options
author | David <thedaviddelta@gmail.com> | 2020-01-26 21:49:47 +0100 |
---|---|---|
committer | David <thedaviddelta@gmail.com> | 2020-01-26 21:49:47 +0100 |
commit | 3d1a85a3a428f48ba65db0d24b2ec675a2783241 (patch) | |
tree | a03e8dcfda44116754ea298072fd812872973ca5 /ui/src/i18next.ts | |
parent | 8aac74a0a6d60ace66a1c5192edef3524b458372 (diff) |
Lambdas reverted
Diffstat (limited to 'ui/src/i18next.ts')
-rw-r--r-- | ui/src/i18next.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts index f1288baa..51e7e3a3 100644 --- a/ui/src/i18next.ts +++ b/ui/src/i18next.ts @@ -29,7 +29,9 @@ const resources = { ca, }; -const format = (value: any, format: any, lng: any) => format === 'uppercase' ? value.toUpperCase() : value; +function format(value: any, format: any, lng: any): any { + return format === 'uppercase' ? value.toUpperCase() : value; +} i18next.init({ debug: false, |