Remove redundant labels

This commit is contained in:
Keannu Bernasol 2024-01-07 10:56:28 +08:00
parent 48d0e8f133
commit 7a5beed3db

View file

@ -147,7 +147,7 @@ export default function AddTransactionPage() {
transaction.equipments.includes(equipment.id)
) || []
}
onChange={(event, newValue) => {
onChange={(_event, newValue) => {
SetTransaction({
...transaction,
equipments: newValue.map((item) => item.id),
@ -203,7 +203,6 @@ export default function AddTransactionPage() {
SetTransaction({ ...transaction, subject: e.target.value });
setError("");
}}
label={"Subject"}
value={transaction.subject}
placeholder={"The subject requiring the equipments"}
/>
@ -224,7 +223,6 @@ export default function AddTransactionPage() {
SetTransaction({ ...transaction, remarks: e.target.value });
setError("");
}}
label={"Remarks"}
value={transaction.remarks}
placeholder={"Optionally add a brief description of the request"}
/>
@ -245,7 +243,6 @@ export default function AddTransactionPage() {
SetTransaction({ ...transaction, consumables: e.target.value });
setError("");
}}
label={"Consumables"}
value={transaction.consumables}
placeholder={"Write down any consumables here"}
/>
@ -269,7 +266,6 @@ export default function AddTransactionPage() {
});
setError("");
}}
label={"Additional Members"}
value={transaction.additional_members}
placeholder={
"Write down any additional members borrowing on behalf of this transaction"