implement user authentication with login functionality and database integration

This commit is contained in:
2025-08-18 21:47:20 +02:00
parent 817a1efcdd
commit 298bc81435
12 changed files with 384 additions and 38 deletions

View File

@@ -1,13 +1,6 @@
import React from "react";
import { myToast } from "../utils/toastify";
const Form3: React.FC = () => {
if (localStorage.getItem("borrowCode")) {
myToast("Ausleihe erfolgreich!", "success");
} else {
myToast("Ausleihe fehlgeschlagen!", "error");
}
const code = localStorage.getItem("borrowCode") ?? "—";
return (