diff --git a/Client/src/Components/TabPanels/Account/PasswordPanel.jsx b/Client/src/Components/TabPanels/Account/PasswordPanel.jsx index 6247a57a9..602816e6c 100644 --- a/Client/src/Components/TabPanels/Account/PasswordPanel.jsx +++ b/Client/src/Components/TabPanels/Account/PasswordPanel.jsx @@ -98,16 +98,17 @@ const PasswordPanel = () => { return ( -
-
- + + Current password - + { onChange={handleChange} error={errors[idToName["edit-current-password"]]} /> -
-
- + + + New password - + { onChange={handleChange} error={errors[idToName["edit-new-password"]]} /> -
-
- + + + Confirm new password - + { onChange={handleChange} error={errors[idToName["edit-confirm-password"]]} /> -
-
- + + + -
-
); }; diff --git a/Client/src/Components/TabPanels/Account/ProfilePanel.jsx b/Client/src/Components/TabPanels/Account/ProfilePanel.jsx index e42d9f20f..7d18b48c5 100644 --- a/Client/src/Components/TabPanels/Account/ProfilePanel.jsx +++ b/Client/src/Components/TabPanels/Account/ProfilePanel.jsx @@ -217,11 +217,17 @@ const ProfilePanel = () => { return ( -
-
- + + + First name - + { onChange={handleChange} error={errors[idToName["edit-first-name"]]} /> -
-
- + + + Last name - + { onChange={handleChange} error={errors[idToName["edit-last-name"]]} /> -
-
- + + + Email - + This is your current email address — it cannot be changed. @@ -256,20 +262,19 @@ const ProfilePanel = () => { value={user.email} placeholder="Enter your email" autoComplete="email" - // TODO - add onChange onChange={() => logger.warn("disabled")} // error={errors[idToName["edit-email"]]} disabled={true} /> -
-
- + + + Your photo - + This photo will be displayed in your profile page. - + { }} /> -
+