diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-16 14:44:59 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-16 14:44:59 +0530 |
commit | 75c5c59316a428fbebe2448d9d79a70689565657 (patch) | |
tree | 9dbc53b428011a8e24273f6c6e1fe70121e8d3d2 /src/webex/pages | |
parent | c6d80b01281a6af578fb3468698419ddd5c172f8 (diff) | |
download | wallet-core-75c5c59316a428fbebe2448d9d79a70689565657.tar.xz |
report manual withdrawals properly in transaction list
Diffstat (limited to 'src/webex/pages')
-rw-r--r-- | src/webex/pages/withdraw.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/pages/withdraw.tsx b/src/webex/pages/withdraw.tsx index d8ac3c455..c4e4ebbb9 100644 --- a/src/webex/pages/withdraw.tsx +++ b/src/webex/pages/withdraw.tsx @@ -23,7 +23,7 @@ import * as i18n from "../i18n"; -import { WithdrawDetails } from "../../types/walletTypes"; +import { WithdrawalDetailsResponse } from "../../types/walletTypes"; import { WithdrawDetailView, renderAmount } from "../renderHtml"; @@ -35,7 +35,7 @@ import { } from "../wxApi"; function WithdrawalDialog(props: { talerWithdrawUri: string }): JSX.Element { - const [details, setDetails] = useState<WithdrawDetails | undefined>(); + const [details, setDetails] = useState<WithdrawalDetailsResponse | undefined>(); const [selectedExchange, setSelectedExchange] = useState< string | undefined >(); @@ -56,7 +56,7 @@ function WithdrawalDialog(props: { talerWithdrawUri: string }): JSX.Element { useEffect(() => { const fetchData = async (): Promise<void> => { console.log("getting from", talerWithdrawUri); - let d: WithdrawDetails | undefined = undefined; + let d: WithdrawalDetailsResponse | undefined = undefined; try { d = await getWithdrawDetails(talerWithdrawUri, selectedExchange); } catch (e) { |