diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/i18n/index.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/i18n/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/i18n/index.tsx b/packages/merchant-backoffice-ui/src/i18n/index.tsx index 4afbfe2ba..da8d2dece 100644 --- a/packages/merchant-backoffice-ui/src/i18n/index.tsx +++ b/packages/merchant-backoffice-ui/src/i18n/index.tsx @@ -93,7 +93,7 @@ interface TranslateProps { function getTranslatedChildren( translation: string, - children: ComponentChildren + children: ComponentChildren, ): ComponentChild[] { const tr = translation.split(/%(\d+)\$s/); const childArray = children instanceof Array ? children : [children]; @@ -167,7 +167,7 @@ export function TranslateSwitch({ children, target }: TranslateSwitchProps) { if (child.type === TranslateSingular) { singular = child; } - } + }, ); } if (!singular || !plural) { |