;
+ onAddExchange: () => void;
}
export function CreateManualWithdraw({
@@ -49,6 +48,7 @@ export function CreateManualWithdraw({
exchangeList,
error,
onCreate,
+ onAddExchange,
}: Props): VNode {
const exchangeSelectList = Object.keys(exchangeList);
const currencySelectList = Object.values(exchangeList);
@@ -90,7 +90,7 @@ export function CreateManualWithdraw({
return (
No exchange configured
- route(Pages.exchange_add)}>
+
Add exchange
@@ -130,10 +130,7 @@ export function CreateManualWithdraw({
/>
- route(Pages.exchange_add)}
- style={{ marginLeft: "auto" }}
- >
+
Add exchange
diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeAddConfirm.tsx b/packages/taler-wallet-webextension/src/wallet/ExchangeAddConfirm.tsx
index 5c7f94ecd..409e0b49e 100644
--- a/packages/taler-wallet-webextension/src/wallet/ExchangeAddConfirm.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/ExchangeAddConfirm.tsx
@@ -5,7 +5,6 @@ import {
Button,
ButtonSuccess,
ButtonWarning,
- WarningBox,
} from "../components/styled/index";
import { TermsOfServiceSection } from "../cta/TermsOfServiceSection";
import { useAsyncAsHook } from "../hooks/useAsyncAsHook";
@@ -97,14 +96,6 @@ export function View({