diff options
Diffstat (limited to 'packages/merchant-backoffice-ui')
6 files changed, 7 insertions, 7 deletions
diff --git a/packages/merchant-backoffice-ui/src/Application.tsx b/packages/merchant-backoffice-ui/src/Application.tsx index 57ecb5299..cf46a34d5 100644 --- a/packages/merchant-backoffice-ui/src/Application.tsx +++ b/packages/merchant-backoffice-ui/src/Application.tsx @@ -77,7 +77,7 @@ function ApplicationStatusRoutes(): VNode { notification={{ message: i18n.str`Checking the /config endpoint got authorization error`, type: "ERROR", - description: `The /config endpoint of the backend server should be accesible`, + description: `The /config endpoint of the backend server should be accessible`, }} /> </Fragment> diff --git a/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx b/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx index 2ff23dfd3..a0e1d6ae4 100644 --- a/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/JumpToElementById.tsx @@ -3,7 +3,7 @@ import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { h, VNode } from "preact"; import { useState } from "preact/hooks"; -export function JumpToElementById({ testIfExist, onSelect, palceholder, description }: { palceholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise<any>, onSelect: (id: string) => void }): VNode { +export function JumpToElementById({ testIfExist, onSelect, placeholder, description }: { placeholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise<any>, onSelect: (id: string) => void }): VNode { const { i18n } = useTranslationContext() const [error, setError] = useState<string | undefined>( @@ -35,7 +35,7 @@ export function JumpToElementById({ testIfExist, onSelect, palceholder, descript type="text" value={id ?? ""} onChange={(e) => setId(e.currentTarget.value)} - placeholder={palceholder} + placeholder={placeholder} /> {error && <p class="help is-danger">{error}</p>} </div> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx index 9514ed0dc..516015df7 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/accounts/update/UpdatePage.tsx @@ -67,7 +67,7 @@ export function UpdatePage({ account, onUpdate, onBack }: Props): VNode { repeatPassword: state.credit_facade_credentials?.type !== "basic" ? undefined : !(state.credit_facade_credentials as any).repeatPassword ? i18n.str`required` : - (state.credit_facade_credentials as any).repeatPassword !== state.credit_facade_credentials.password ? i18n.str`doesnt match` + (state.credit_facade_credentials as any).repeatPassword !== state.credit_facade_credentials.password ? i18n.str`doesn't match` : undefined, }), }; diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx index 34c7d348a..92e714fb8 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/orders/list/index.tsx @@ -106,7 +106,7 @@ export default function OrderList({ testIfExist={getPaymentURL} onSelect={onSelect} description={i18n.str`jump to order with the given product ID`} - palceholder={i18n.str`order id`} + placeholder={i18n.str`order id`} /> <ListPage diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx index 942b5d0ac..34b21daa2 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/products/list/index.tsx @@ -84,7 +84,7 @@ export default function ProductList({ testIfExist={getProduct} onSelect={onSelect} description={i18n.str`jump to product with the given product ID`} - palceholder={i18n.str`product id`} + placeholder={i18n.str`product id`} /> <CardTable diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx index 2d50e3924..adb0833c4 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx @@ -89,7 +89,7 @@ export default function ListTemplates({ testIfExist={testTemplateExist} onSelect={onSelect} description={i18n.str`jump to template with the given template ID`} - palceholder={i18n.str`template id`} + placeholder={i18n.str`template id`} /> <ListPage |