diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-24 13:29:37 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-24 15:16:33 -0300 |
commit | 0bc235c64b6936aa092a2df40e0c4909e4ac05d5 (patch) | |
tree | c5dde44f6bab19365a4ba4ba0aab46febf2cad0c /packages/taler-wallet-webextension/src/walletEntryPoint.tsx | |
parent | 147da7c160c0175c2722f4587ccb2916a3f056d9 (diff) | |
download | wallet-core-0bc235c64b6936aa092a2df40e0c4909e4ac05d5.tar.xz |
copy from popup to wallet
Diffstat (limited to 'packages/taler-wallet-webextension/src/walletEntryPoint.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/walletEntryPoint.tsx | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/packages/taler-wallet-webextension/src/walletEntryPoint.tsx b/packages/taler-wallet-webextension/src/walletEntryPoint.tsx index 61df45e7e..aa007786c 100644 --- a/packages/taler-wallet-webextension/src/walletEntryPoint.tsx +++ b/packages/taler-wallet-webextension/src/walletEntryPoint.tsx @@ -20,24 +20,28 @@ * @author Florian Dold <dold@taler.net> */ -import { Fragment, render, h } from "preact"; import { setupI18n } from "@gnu-taler/taler-util"; -import { strings } from "./i18n/strings"; import { createHashHistory } from 'history'; - -import { WelcomePage } from "./wallet/Welcome"; -import { HistoryPage } from "./wallet/History"; -import { WithdrawPage } from "./cta/Withdraw"; +import { Fragment, h, render } from "preact"; +import Router, { route, Route } from "preact-router"; +import { useEffect } from "preact/hooks"; +import { LogoHeader } from "./components/LogoHeader"; +import { DevContextProvider } from "./context/devContext"; import { PayPage } from "./cta/Pay"; import { RefundPage } from "./cta/Refund"; import { TipPage } from './cta/Tip'; -import Router, { route, Route } from "preact-router"; -import { DevContextProvider } from "./context/devContext"; -import { LogoHeader } from "./components/LogoHeader"; -import { useEffect } from "preact/hooks"; +import { WithdrawPage } from "./cta/Withdraw"; +import { strings } from "./i18n/strings"; import { Pages, WalletNavBar } from "./NavigationBar"; +import { BalancePage } from "./wallet/BalancePage"; +import { HistoryPage } from "./wallet/History"; +import { SettingsPage } from "./wallet/Settings"; +import { TransactionPage } from './wallet/Transaction'; +import { WelcomePage } from "./wallet/Welcome"; +import { BackupPage } from './wallet/BackupPage'; + function main(): void { try { @@ -76,7 +80,10 @@ function Application() { <Route path={Pages.welcome} component={withLogoAndNavBar(WelcomePage)} /> <Route path={Pages.history} component={withLogoAndNavBar(HistoryPage)} /> - <Route path={Pages.transaction} component={withLogoAndNavBar(HistoryPage)} /> + <Route path={Pages.transaction} component={withLogoAndNavBar(TransactionPage)} /> + <Route path={Pages.balance} component={withLogoAndNavBar(BalancePage)} /> + <Route path={Pages.settings} component={withLogoAndNavBar(SettingsPage)} /> + <Route path={Pages.backup} component={withLogoAndNavBar(BackupPage)} /> <Route path={Pages.reset_required} component={() => <div>no yet implemented</div>} /> <Route path={Pages.payback} component={() => <div>no yet implemented</div>} /> |