Skip to content

Commit

Permalink
Merge pull request #13 from MyriadFlow/main
Browse files Browse the repository at this point in the history
Update page.js
  • Loading branch information
Joshua-Ogbonna authored Nov 8, 2024
2 parents 4a39559 + 42c4e3d commit e2b0dbc
Showing 1 changed file with 13 additions and 29 deletions.
42 changes: 13 additions & 29 deletions src/app/profile-setting/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1140,35 +1140,19 @@ function ProfileSettingsPage() {
</div>
</div>

{isEditing && (
<button
onClick={handleSave}
style={{
backgroundColor: "#30D8FF",
color: "#FFFFFF",
padding: "10px 20px",
borderRadius: "8px",
cursor: "pointer",
marginTop: "20px",
}}
>
Save Changes
</button>
// ) : (
// <button
// onClick={() => setIsEditing(true)}
// style={{
// backgroundColor: "#7D4AB5",
// color: "#ffffff",
// padding: "10px 20px",
// borderRadius: "8px",
// cursor: "pointer",
// marginTop: "20px",
// }}
// >
// Edit
// </button>
)}
<button
onClick={handleSave}
style={{
backgroundColor: "#30D8FF",
color: "#FFFFFF",
padding: "10px 20px",
borderRadius: "8px",
cursor: "pointer",
marginTop: "20px",
}}
>
Save Changes
</button>

{isCoverPopupVisible && (
<div
Expand Down

0 comments on commit e2b0dbc

Please sign in to comment.