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,