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:'' });