diff options
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" && |