From 079b9a20f02619219aadd40858c3e5c459f1522d Mon Sep 17 00:00:00 2001 From: Dicken Date: Tue, 26 May 2026 12:02:27 +0200 Subject: [PATCH] Dateien nach "frontend/src" hochladen --- frontend/src/App.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 98b6a9b..c7aaecf 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -699,6 +699,7 @@ const Field = ({ label, type='text', value, onChange, placeholder='', autoCapita ); function AdminPanel({ toast, mobile }) { + const [section, setSection] = useState('profil'); const [pw, setPw] = useState({ current:'', newPw:'', confirm:'' }); const [avatar, setAvatar] = useState(localStorage.getItem('dd_avatar') || null); const [un, setUn] = useState({ newUsername:'', unPw:'' });