aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-16 14:44:59 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-16 14:44:59 +0530
commit75c5c59316a428fbebe2448d9d79a70689565657 (patch)
tree9dbc53b428011a8e24273f6c6e1fe70121e8d3d2 /src/webex/pages
parentc6d80b01281a6af578fb3468698419ddd5c172f8 (diff)
downloadwallet-core-75c5c59316a428fbebe2448d9d79a70689565657.tar.xz
report manual withdrawals properly in transaction list
Diffstat (limited to 'src/webex/pages')
-rw-r--r--src/webex/pages/withdraw.tsx6
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) {