From c2adea5ec845335b4959fb544eb8d849efe9709a Mon Sep 17 00:00:00 2001
From: Keannu Bernasol
Date: Fri, 5 Jan 2024 19:08:59 +0800
Subject: [PATCH] Fix typo in TransactionType with consumables
---
src/Components/TransactionEntry/TransactionEntry.tsx | 2 +-
src/Components/Types/Types.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Components/TransactionEntry/TransactionEntry.tsx b/src/Components/TransactionEntry/TransactionEntry.tsx
index 240bd64..ca8e9d5 100644
--- a/src/Components/TransactionEntry/TransactionEntry.tsx
+++ b/src/Components/TransactionEntry/TransactionEntry.tsx
@@ -120,7 +120,7 @@ export default function TransactionEntry(props: props) {
},
}}
>
- Consumables: {props.transaction.consumable}
+ Consumables: {props.transaction.consumables}
diff --git a/src/Components/Types/Types.tsx b/src/Components/Types/Types.tsx
index 00b6b4d..80b7d0f 100644
--- a/src/Components/Types/Types.tsx
+++ b/src/Components/Types/Types.tsx
@@ -129,7 +129,7 @@ export type TransactionType = {
timestamp: string;
remarks: string;
subject: string;
- consumable: string;
+ consumables: string;
};
export type TransactionListType = Array;