From 8a30bcbdf9264d235bf93da3df8e170cfde53d02 Mon Sep 17 00:00:00 2001
From: Joe Carstairs <me@joeac.net>
Date: Thu, 12 Dec 2024 08:26:53 +0000
Subject: Removes web GUI

---
 .../BudgetUpdatesTable/BudgetUpdatesTable.tsx      | 36 ----------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 gui/src/components/BudgetUpdatesTable/BudgetUpdatesTable.tsx

(limited to 'gui/src/components/BudgetUpdatesTable/BudgetUpdatesTable.tsx')

diff --git a/gui/src/components/BudgetUpdatesTable/BudgetUpdatesTable.tsx b/gui/src/components/BudgetUpdatesTable/BudgetUpdatesTable.tsx
deleted file mode 100644
index 479d69f..0000000
--- a/gui/src/components/BudgetUpdatesTable/BudgetUpdatesTable.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-import { BudgetUpdate } from '../../types/budgetUpdate';
-import './BudgetUpdatesTable.css';
-
-function BudgetUpdatesTable({ budgetUpdates }: Props) {
-  return (
-    <table>
-      <thead>
-        <tr>
-          <td>Date</td>
-          <td>Quantity</td>
-          <td>Period</td>
-        </tr>
-      </thead>
-
-      <tbody>
-        { budgetUpdates.map(Row) }
-      </tbody>
-    </table>
-  );
-}
-
-function Row(budgetUpdate: BudgetUpdate) {
-  return (
-    <tr>
-      <td>{budgetUpdate.date.format("DD Mm YYYY")}</td>
-      <td>{budgetUpdate.newQuantity.toString()}</td>
-      <td>{budgetUpdate.newPeriod}</td>
-    </tr>
-  )
-}
-
-type Props = {
-  budgetUpdates: BudgetUpdate[];
-}
-
-export { BudgetUpdatesTable };
-- 
cgit v1.2.3

