summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/cta/InvoiceCreate
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-05 21:09:28 +0200
committerFlorian Dold <florian@dold.me>2022-09-05 21:09:28 +0200
commit3f5a76751b3bf410ea3df023eef2f5bfd6f730cd (patch)
tree7ed7bc46035e557ad6eeb9647980d0a60eb7621c /packages/taler-wallet-webextension/src/cta/InvoiceCreate
parent0f57f48f847a7bd0b35ddc05770aa169fec1c136 (diff)
downloadwallet-core-3f5a76751b3bf410ea3df023eef2f5bfd6f730cd.tar.gz
wallet-core-3f5a76751b3bf410ea3df023eef2f5bfd6f730cd.tar.bz2
wallet-core-3f5a76751b3bf410ea3df023eef2f5bfd6f730cd.zip
wallet-core: make listExchanges return less datav0.9.0-dev.16
Since the webextension UI depends on the full response, we have a temporary listExchangesDetailled request. See https://bugs.taler.net/n/7323 for details.
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/InvoiceCreate')
-rw-r--r--packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts
index 804d216eb..bb0f0d1af 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts
+++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/state.ts
@@ -30,7 +30,7 @@ export function useComponentState(
const [subject, setSubject] = useState("");
const [talerUri, setTalerUri] = useState("")
- const hook = useAsyncAsHook(api.listExchanges);
+ const hook = useAsyncAsHook(api.listExchangesDetailled);
const [exchangeIdx, setExchangeIdx] = useState("0")
const [operationError, setOperationError] = useState<TalerErrorDetail | undefined>(undefined)