From ba8b40c9150586982e42e76d364d76202627bd6f Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 10 Feb 2023 09:51:37 -0300 Subject: business account --- packages/demobank-ui/src/pages/AccountPage.tsx | 81 +++++++++++++------------- 1 file changed, 40 insertions(+), 41 deletions(-) (limited to 'packages/demobank-ui/src/pages/AccountPage.tsx') diff --git a/packages/demobank-ui/src/pages/AccountPage.tsx b/packages/demobank-ui/src/pages/AccountPage.tsx index 769e85804..370605871 100644 --- a/packages/demobank-ui/src/pages/AccountPage.tsx +++ b/packages/demobank-ui/src/pages/AccountPage.tsx @@ -104,49 +104,48 @@ export function AccountPage({ account, onLoadNotOk }: Props): VNode { )}
- +
+

{i18n.str`Latest transactions`}

+ +
); } -function Moves({ account }: { account: string }): VNode { - const [tab, setTab] = useState<"transactions" | "cashouts">("transactions"); - const { i18n } = useTranslationContext(); - return ( -
-
-
- - -
- {tab === "transactions" && ( -
-

{i18n.str`Latest transactions`}

- -
- )} - {tab === "cashouts" && ( -
-

{i18n.str`Latest cashouts`}

- -
- )} -
-
- ); -} +// function Moves({ account }: { account: string }): VNode { +// const [tab, setTab] = useState<"transactions" | "cashouts">("transactions"); +// const { i18n } = useTranslationContext(); +// return ( +//
+//
+//
+// +// +//
+// {tab === "transactions" && ( +// )} +// {tab === "cashouts" && ( +//
+//

{i18n.str`Latest cashouts`}

+// +//
+// )} +//
+//
+// ); +// } -- cgit v1.2.3