diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-19 12:23:39 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-19 12:23:39 -0300 |
commit | 72b429321553841ac1ff48cf974bfc65da01bb06 (patch) | |
tree | 7db9a4462f02de6cb86de695a1e64772b00ead5f /packages/merchant-backoffice-ui/src/i18n/index.tsx | |
parent | 770ab6f01dc81a16f384f314982bd761540f8e65 (diff) |
pretty
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) { |