diff --git a/frontend/src/components/Form4.tsx b/frontend/src/components/Form4.tsx index 2c862c3..17f961c 100644 --- a/frontend/src/components/Form4.tsx +++ b/frontend/src/components/Form4.tsx @@ -1,4 +1,5 @@ import React, { useEffect, useState } from "react"; +import { Trash, ArrowLeftRight } from "lucide-react"; import { handleDeleteLoan } from "../utils/userHandler"; type Loan = { @@ -32,22 +33,6 @@ const readUserLoansFromStorage = (): Loan[] => { } }; -const TrashIcon = (props: React.SVGProps) => ( - - - -); - const Form4: React.FC = () => { const [userLoans, setUserLoans] = useState(() => readUserLoansFromStorage() @@ -131,7 +116,7 @@ const Form4: React.FC = () => { aria-label="Ausleihe löschen" className="flex items-center justify-center rounded-md p-2 text-slate-600 hover:bg-red-50 hover:text-red-600 focus:outline-none focus:ring-2 focus:ring-red-500/30" > - + @@ -204,7 +189,7 @@ const Form4: React.FC = () => { aria-label="Ausleihe löschen" className="inline-flex items-center rounded-md p-2 text-slate-600 hover:bg-red-50 hover:text-red-600 focus:outline-none focus:ring-2 focus:ring-red-500/30" > - + @@ -212,6 +197,13 @@ const Form4: React.FC = () => { + {/* Scroll hint */} +
+
+ + Hinweis: Horizontal scrollen, um alle Spalten zu sehen. +
+
);