diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-19 11:15:19 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-19 11:16:45 -0300 |
commit | f3dfd3da1bb16da110b1e83ebc075ed82dcf129e (patch) | |
tree | 83b9bce7e0d76a088701485680a21d37cecbfb45 /packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts | |
parent | 77a531ea7d4c1d73c4523ee5d9c5545ab4a9c6bf (diff) | |
download | wallet-core-f3dfd3da1bb16da110b1e83ebc075ed82dcf129e.tar.gz wallet-core-f3dfd3da1bb16da110b1e83ebc075ed82dcf129e.tar.bz2 wallet-core-f3dfd3da1bb16da110b1e83ebc075ed82dcf129e.zip |
fix wrong error messages
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts index 81caf9878..027368a91 100644 --- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts +++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts @@ -50,7 +50,7 @@ export function useComponentState({ return { status: "error", error: alertFromError( - i18n.str`Could not load the status of the term of service`, + i18n.str`Could not load the list of exchanges`, hook, ), }; @@ -103,7 +103,7 @@ export function useComponentState({ return { status: "error", error: alertFromError( - i18n.str`Could not load the status of the term of service`, + i18n.str`Could not load the invoice status`, hook, ), }; @@ -166,8 +166,8 @@ export function useComponentState({ subject === undefined ? undefined : !subject - ? "Can't be empty" - : undefined, + ? "Can't be empty" + : undefined, value: subject ?? "", onInput: pushAlertOnError(async (e) => setSubject(e)), }, |