diff options
author | Sebastian <sebasjm@gmail.com> | 2022-09-12 10:57:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-09-12 10:58:09 -0300 |
commit | 27201416c7d234361507e6055ce7ed42c11c650e (patch) | |
tree | 9a8a6ec614f8c8a221af86ddf2c9fd3b54cfceb5 /packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx | |
parent | fc413bb5eca2171abb93b96e9b86f7b76c0a27af (diff) | |
download | wallet-core-27201416c7d234361507e6055ce7ed42c11c650e.tar.xz |
ref #7323
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx | 41 |
1 files changed, 12 insertions, 29 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx b/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx index 14c3bdb50..a6bd2e7dc 100644 --- a/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ExchangeSelection/views.tsx @@ -14,26 +14,23 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import { Fragment, h, VNode } from "preact"; -import { LoadingError } from "../../components/LoadingError.js"; -import { LogoHeader } from "../../components/LogoHeader.js"; import { - Input, - LinkPrimary, - SubTitle, - SvgIcon, - WalletAction, -} from "../../components/styled/index.js"; -import { useTranslationContext } from "../../context/translation.js"; -import { FeeDescription, FeeDescriptionPair, State } from "./index.js"; + Amounts, + FeeDescription, + FeeDescriptionPair, +} from "@gnu-taler/taler-util"; import { styled } from "@linaria/react"; -import arrowDown from "../../svg/chevron-down.svg"; +import { Fragment, h, VNode } from "preact"; +import { useState } from "preact/hooks"; import { Amount } from "../../components/Amount.js"; +import { LoadingError } from "../../components/LoadingError.js"; +import { SelectList } from "../../components/SelectList.js"; +import { Input, LinkPrimary, SvgIcon } from "../../components/styled/index.js"; import { Time } from "../../components/Time.js"; -import { AbsoluteTime, AmountJson, Amounts } from "@gnu-taler/taler-util"; +import { useTranslationContext } from "../../context/translation.js"; import { Button } from "../../mui/Button.js"; -import { SelectList } from "../../components/SelectList.js"; -import { useState } from "preact/hooks"; +import arrowDown from "../../svg/chevron-down.svg"; +import { State } from "./index.js"; const ButtonGroup = styled.div` & > button { @@ -123,7 +120,6 @@ export function NoExchangesView(state: State.NoExchanges): VNode { export function ComparingView({ exchanges, selected, - nextFeeUpdate, onReset, onSelect, pairTimeline, @@ -185,12 +181,6 @@ export function ComparingView({ <td>currency</td> <td>{selected.currency}</td> </tr> - <tr> - <td>next fee update</td> - <td> - {<Time timestamp={nextFeeUpdate} format="dd MMMM yyyy, HH:mm" />} - </td> - </tr> </table> </section> <section> @@ -305,7 +295,6 @@ export function ComparingView({ export function ReadyView({ exchanges, selected, - nextFeeUpdate, onClose, timeline, }: State.Ready): VNode { @@ -362,12 +351,6 @@ export function ReadyView({ <td>currency</td> <td>{selected.currency}</td> </tr> - <tr> - <td>next fee update</td> - <td> - {<Time timestamp={nextFeeUpdate} format="dd MMMM yyyy, HH:mm" />} - </td> - </tr> </table> </section> <section> |