Skip to content

Commit

Permalink
Merge pull request #14 from MyriadFlow/profile-fixes
Browse files Browse the repository at this point in the history
chore: expose save changes button
  • Loading branch information
Joshua-Ogbonna authored Nov 8, 2024
2 parents aedc913 + 157a7ee commit 42c4e3d
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>


<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 42c4e3d

Please sign in to comment.