lick on profile picture to update it

This commit is contained in:
p2405951
2026-03-13 17:39:55 +01:00
parent 560f391a03
commit 2dfc46ede8
3 changed files with 41 additions and 20 deletions
@@ -35,7 +35,7 @@ interface AuthContextType {
}
export default function SettingsModal() {
const {user, logout, update} = useContext(AuthContext) as AuthContextType;
const {user, logout, update} = useContext(AuthContext) as unknown as AuthContextType;
const [open, setOpen] = useState<boolean>(false);
const [isDelete, setIsDelete] = useState<boolean>(false);