From f99e1522d1114eeda6bd7ff3aea91421699c783c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 6 Mar 2023 19:14:34 -0300 Subject: double quotes don't work with pogen --- .../src/paths/instance/webhooks/create/CreatePage.tsx | 2 +- .../src/paths/instance/webhooks/update/UpdatePage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/merchant-backoffice-ui/src/paths/instance/webhooks') diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx index 1d049149b..8150f3aec 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx @@ -54,7 +54,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { http_method: !state.http_method ? i18n.str`required` : !validMethod.includes(state.http_method) - ? i18n.str`should be one of "${validMethod.join(", ")}"` + ? i18n.str`should be one of '${validMethod.join(", ")}'` : undefined, url: !state.url ? i18n.str`required` : undefined, }; diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx index 4e3674dca..0401453db 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx @@ -50,7 +50,7 @@ export function UpdatePage({ webhook, onUpdate, onBack }: Props): VNode { http_method: !state.http_method ? i18n.str`required` : !validMethod.includes(state.http_method) - ? i18n.str`should be one of "${validMethod.join(", ")}"` + ? i18n.str`should be one of '${validMethod.join(", ")}'` : undefined, url: !state.url ? i18n.str`required` : undefined, }; -- cgit v1.2.3