diff options
author | Sebastian <sebasjm@gmail.com> | 2023-03-06 19:14:34 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-03-06 19:14:34 -0300 |
commit | f99e1522d1114eeda6bd7ff3aea91421699c783c (patch) | |
tree | 3add4da7c1927125d0e41459cbe1abab36cc6355 /packages/merchant-backoffice-ui/src/paths/instance | |
parent | 3639c6db60e9cf914607422418a9f78bfcf92faa (diff) | |
download | wallet-core-f99e1522d1114eeda6bd7ff3aea91421699c783c.tar.xz |
double quotes don't work with pogen
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx | 2 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
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, }; |