diff options
author | Florian Dold <florian@dold.me> | 2022-09-05 21:09:28 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-05 21:09:28 +0200 |
commit | 3f5a76751b3bf410ea3df023eef2f5bfd6f730cd (patch) | |
tree | 7ed7bc46035e557ad6eeb9647980d0a60eb7621c /packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx | |
parent | 0f57f48f847a7bd0b35ddc05770aa169fec1c136 (diff) | |
download | wallet-core-3f5a76751b3bf410ea3df023eef2f5bfd6f730cd.tar.xz |
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/wallet/ManualWithdrawPage.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx b/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx index a292914fb..5a82c96ed 100644 --- a/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx @@ -50,7 +50,7 @@ export function ManualWithdrawPage({ amount, onCancel }: Props): VNode { >(undefined); const [error, setError] = useState<string | undefined>(undefined); - const state = useAsyncAsHook(wxApi.listExchanges); + const state = useAsyncAsHook(wxApi.listExchangesDetailled); useEffect(() => { return wxApi.onUpdateNotification([NotificationType.ExchangeAdded], () => { state?.retry(); |