From 4b986b130c84cd4f6191154a26002efa51644328 Mon Sep 17 00:00:00 2001 From: Ferso Date: Sat, 5 Oct 2024 13:50:47 -0600 Subject: [PATCH] new interface --- .../components/home-transactions/home-transactions.tsx | 9 --------- src/lib/dash/interface/screens/home/home.screen.tsx | 9 +-------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/lib/dash/interface/components/home-transactions/home-transactions.tsx b/src/lib/dash/interface/components/home-transactions/home-transactions.tsx index a5310e3..595665a 100644 --- a/src/lib/dash/interface/components/home-transactions/home-transactions.tsx +++ b/src/lib/dash/interface/components/home-transactions/home-transactions.tsx @@ -6,13 +6,6 @@ import { Stack, Typography, } from "@mui/material"; -import { DataGrid, GridColDef } from "@mui/x-data-grid"; - -const columns: GridColDef[] = [ - { field: "amount", headerName: "Transanction Amount" }, - { field: "status", headerName: "status", width: 100 }, - { field: "date", headerName: "Date", width: 100 }, -]; const rows = [ { id: 1, amount: "1,800", status: "Completed", date: "2024-08-12" }, @@ -23,8 +16,6 @@ const rows = [ { id: 6, amount: "2,100", status: "Completed", date: "2024-08-12" }, ]; -const paginationModel = { page: 0, pageSize: 5 }; - export const HomeTransactions = () => { return ( diff --git a/src/lib/dash/interface/screens/home/home.screen.tsx b/src/lib/dash/interface/screens/home/home.screen.tsx index c257984..38744d8 100644 --- a/src/lib/dash/interface/screens/home/home.screen.tsx +++ b/src/lib/dash/interface/screens/home/home.screen.tsx @@ -4,14 +4,7 @@ import { HomeTransactions } from "@dash/interface/components/home-transactions/h import MarketChart from "@dash/interface/components/market-chart/market-chart"; import { ScreenTitle } from "@dash/interface/components/screen-title/screen-title"; import { MainLayout } from "@dash/interface/layouts/main.layout"; -import { - Button, - Card, - CardContent, - Container, - Grid2, - Stack, -} from "@mui/material"; +import { Button, Container, Grid2, Stack } from "@mui/material"; export const HomeScreen = () => { return (