import Router, { route, Route } from "preact-router"; import { createHashHistory } from 'history'; import { useEffect } from "preact/hooks"; import { WalletPopup } from "./pages/popup"; import { WithdrawalDialog } from "./pages/withdraw"; import { Welcome } from "./pages/welcome"; import { TalerPayDialog } from "./pages/pay"; import { RefundStatusView } from "./pages/refund"; import { TalerTipDialog } from './pages/tip'; export enum Pages { welcome = '/welcome', pay = '/pay', payback = '/payback', refund = '/refund', reset_required = '/reset-required', return_coins = '/return-coins', tips = '/tips', withdraw = '/withdraw', popup = '/popup/:rest', } export function Application() { const sp = new URL(document.location.href).searchParams const queryParams: any = {} sp.forEach((v, k) => { queryParams[k] = v; }); return { return

Taler Wallet

Browser Extension Installed!

}} /> { return

GNU Taler Wallet

}} /> { return

GNU Taler Wallet

}} /> { return

GNU Taler Wallet

}} /> { return

Taler Wallet

}} />
no yet implemented
} />
no yet implemented
} />
no yet implemented
} />
} export function Redirect({ to }: { to: string }): null { useEffect(() => { route(to, true) }) return null }