diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-07 13:58:55 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-07 13:58:55 +0530 |
commit | faba5e9db8e0d1fdc4845de6b504b4e2ea3ca72b (patch) | |
tree | 53bbc26d9e5d16e168e682ce808461a395e00f45 /src/webex/i18n.tsx | |
parent | fb2e2f89935240666de66e4b2c11125cb3b2943d (diff) | |
download | wallet-core-faba5e9db8e0d1fdc4845de6b504b4e2ea3ca72b.tar.xz |
finally make linter happy
Diffstat (limited to 'src/webex/i18n.tsx')
-rw-r--r-- | src/webex/i18n.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/i18n.tsx b/src/webex/i18n.tsx index 3f23267d5..4c111a05a 100644 --- a/src/webex/i18n.tsx +++ b/src/webex/i18n.tsx @@ -129,7 +129,7 @@ export class Translate extends React.Component<TranslateProps, {}> { .ngettext(s, s, 1) .split(/%(\d+)\$s/) .filter((e: any, i: number) => i % 2 === 0); - const childArray = React.Children.toArray(this.props.children!); + const childArray = React.Children.toArray(this.props.children); for (let i = 0; i < childArray.length - 1; ++i) { if ( typeof childArray[i] === "string" && @@ -220,7 +220,7 @@ export class TranslatePlural extends React.Component< .ngettext(s, s, 1) .split(/%(\d+)\$s/) .filter((e: any, i: number) => i % 2 === 0); - const childArray = React.Children.toArray(this.props.children!); + const childArray = React.Children.toArray(this.props.children); for (let i = 0; i < childArray.length - 1; ++i) { if ( typeof childArray[i] === "string" && @@ -261,7 +261,7 @@ export class TranslateSingular extends React.Component< .ngettext(s, s, 1) .split(/%(\d+)\$s/) .filter((e: any, i: number) => i % 2 === 0); - const childArray = React.Children.toArray(this.props.children!); + const childArray = React.Children.toArray(this.props.children); for (let i = 0; i < childArray.length - 1; ++i) { if ( typeof childArray[i] === "string" && |