diff --git a/frontend/src/pages/Login.jsx b/frontend/src/pages/Login.jsx index c81f6b9..6d0ea65 100644 --- a/frontend/src/pages/Login.jsx +++ b/frontend/src/pages/Login.jsx @@ -14,6 +14,12 @@ import { useAuth } from "../contexts/AuthContext"; import { authAPI } from "../utils/api"; const Login = () => { + const usernameId = useId(); + const firstNameId = useId(); + const lastNameId = useId(); + const emailId = useId(); + const passwordId = useId(); + const tokenId = useId(); const [isSignupMode, setIsSignupMode] = useState(false); const [formData, setFormData] = useState({ username: "", @@ -212,14 +218,14 @@ const Login = () => {
{
{
{
{
{
{ + const usernameId = useId(); + const emailId = useId(); + const firstNameId = useId(); + const lastNameId = useId(); + const currentPasswordId = useId(); + const newPasswordId = useId(); + const confirmPasswordId = useId(); const { user, updateProfile, changePassword } = useAuth(); const { theme, toggleTheme, isDark } = useTheme(); const [activeTab, setActiveTab] = useState("profile"); @@ -250,7 +257,7 @@ const Profile = () => {