From 96ac83ecea7b4154a8b4558f7f42089a467a06f9 Mon Sep 17 00:00:00 2001 From: Nikita Elfimov Date: Thu, 30 Nov 2023 10:13:54 +0300 Subject: [PATCH] chore: trigger release --- .yarn/versions/67c955b7.yml | 9 --------- packages/payment-widget/src/index.ts | 8 ++++++-- packages/payment-widget/src/ui/widget.component.tsx | 2 +- 3 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 .yarn/versions/67c955b7.yml diff --git a/.yarn/versions/67c955b7.yml b/.yarn/versions/67c955b7.yml deleted file mode 100644 index 6b5f617..0000000 --- a/.yarn/versions/67c955b7.yml +++ /dev/null @@ -1,9 +0,0 @@ -releases: - "@atls/react-api-auth-user": patch - "@atls/react-app-links": patch - "@atls/react-identity-links": patch - "@atls/react-identity-user-provider": patch - "@atls/react-kratos-browser-flows": patch - "@atls/react-payment-widget": patch - "@atls/react-upload": patch - "@atls/react-user": patch diff --git a/packages/payment-widget/src/index.ts b/packages/payment-widget/src/index.ts index 38bb613..1303f4b 100644 --- a/packages/payment-widget/src/index.ts +++ b/packages/payment-widget/src/index.ts @@ -1,4 +1,8 @@ -export { Widget, InputWrapper, ButtonWrapper } from './ui' +export { + Widget, + ButtonWrapper, + InputWrapper, +} from './ui' export { Settings, Styles, @@ -6,5 +10,5 @@ export { Receipt, ReceiptItem, DirectionFields, -} from './interfaces' +} from './interfaces' export * from './enums' diff --git a/packages/payment-widget/src/ui/widget.component.tsx b/packages/payment-widget/src/ui/widget.component.tsx index 0e18633..d4866d9 100644 --- a/packages/payment-widget/src/ui/widget.component.tsx +++ b/packages/payment-widget/src/ui/widget.component.tsx @@ -28,8 +28,8 @@ export const Widget = ({ disabled, children, }: WidgetProps) => { - const locale = settings.language ?? LanguagesType.RUSSIAN const childrenArray = Children.toArray(children) + const locale = settings.language ?? LanguagesType.RUSSIAN const customFieldsProps = useMemo( () => ({ existAmount: !!amount,