diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-10-10 10:08:02 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-10-10 10:08:02 +0200 |
commit | b5f5001249122ff611f16c043e72ccb174990654 (patch) | |
tree | 05968118a3d30b5c16874965d5fbb15b37d69434 /packages/taler-wallet-webextension/src/wallet/Application.tsx | |
parent | 2b293be4fed9b30d4bf6cf187f0f29046f2a3f5e (diff) | |
parent | 57f8cd3853ea33555faca57eec289482fc80ee58 (diff) |
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Application.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Application.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Application.tsx b/packages/taler-wallet-webextension/src/wallet/Application.tsx index 98515aac0..18291a25a 100644 --- a/packages/taler-wallet-webextension/src/wallet/Application.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Application.tsx @@ -65,15 +65,15 @@ import { WithdrawPageFromParams, WithdrawPageFromURI, } from "../cta/Withdraw/index.js"; +import { useIsOnline } from "../hooks/useIsOnline.js"; import { strings } from "../i18n/strings.js"; -import { platform } from "../platform/foreground.js"; import CloseIcon from "../svg/close_24px.inline.svg"; import { AddBackupProviderPage } from "./AddBackupProvider/index.js"; +import { AddExchange } from "./AddExchange/index.js"; import { BackupPage } from "./BackupPage.js"; import { DepositPage } from "./DepositPage/index.js"; import { DestinationSelectionPage } from "./DestinationSelection/index.js"; import { DeveloperPage } from "./DeveloperPage.js"; -import { ExchangeAddPage } from "./ExchangeAddPage.js"; import { HistoryPage } from "./History.js"; import { NotificationsPage } from "./Notifications/index.js"; import { ProviderDetailPage } from "./ProviderDetailPage.js"; @@ -81,7 +81,6 @@ import { QrReaderPage } from "./QrReader.js"; import { SettingsPage } from "./Settings.js"; import { TransactionPage } from "./Transaction.js"; import { WelcomePage } from "./Welcome.js"; -import { useIsOnline } from "../hooks/useIsOnline.js"; export function Application(): VNode { const { i18n } = useTranslationContext(); @@ -143,7 +142,7 @@ export function Application(): VNode { path={Pages.settingsExchangeAdd.pattern} component={() => ( <WalletTemplate> - <ExchangeAddPage onBack={() => redirectTo(Pages.balance)} /> + <AddExchange onBack={() => redirectTo(Pages.balance)} /> </WalletTemplate> )} /> |