From a4e4bd84c9ea2d71292fc471a36c2340586410f0 Mon Sep 17 00:00:00 2001 From: Kamil Pyszkowski Date: Wed, 8 May 2024 17:45:56 +0200 Subject: [PATCH] Revert `OverviewPage` changes` --- dapp/src/pages/OverviewPage/index.tsx | 41 ++------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/dapp/src/pages/OverviewPage/index.tsx b/dapp/src/pages/OverviewPage/index.tsx index 613e2e659..2a7433b92 100644 --- a/dapp/src/pages/OverviewPage/index.tsx +++ b/dapp/src/pages/OverviewPage/index.tsx @@ -1,5 +1,5 @@ import React from "react" -import { Card, Flex, Grid, HStack, Switch } from "@chakra-ui/react" +import { Flex, Grid, HStack, Switch } from "@chakra-ui/react" import { TextSm } from "#/components/shared/Typography" import { USD } from "#/constants" import { chakraUnitToPx } from "#/theme/utils" @@ -9,44 +9,7 @@ import TransactionHistory from "./TransactionHistory" import { DocsCard } from "./DocsCard" import { ActivityCarousel } from "./ActivityCarousel" -const MOCK_TRANSACTION_HISTORY_DATA = [ - { - date: "2 mins ago", - type: "Deposit", - amount: 499000000, - address: "1Lbcfr7sA.....8LK4ZnX71", - url: "#1", - }, - { - date: "3 hours ago", - type: "Withdraw", - amount: 499000000, - address: "1Lbcfr7sA.....8LK4ZnX71", - url: "#2", - }, - Array(16) - .fill({ - date: "23/11/2023, 12:01", - type: "Deposit", - amount: 499000000, - address: "1Lbcfr7sA.....8LK4ZnX71", - }) - .map((x, i) => ({ ...x, url: `#${i + 3}` })), -].flat() - export default function OverviewPage() { - return ( - - - - - - - - - - ) - return ( @@ -72,7 +35,7 @@ export default function OverviewPage() { > - {/* */} + )