fix(func): fix issues in results page

This commit is contained in:
shafin-r
2025-07-16 22:28:26 +06:00
parent 32c9065f6f
commit 5245ab878d
5 changed files with 198 additions and 88 deletions

View File

@ -69,7 +69,9 @@ const ProfilePage = () => {
<ProfileManager userData={userData} edit={editStatus} />
<button
onClick={() => setEditStatus(!editStatus)}
className="p-3 bg-[#113768] w-full flex gap-3 justify-center items-center rounded-full"
className={`p-3 ${
editStatus ? "bg-green-500" : "bg-[#113768]"
} w-full flex gap-3 justify-center items-center rounded-full`}
>
{editStatus ? (
<Save size={20} color="white" />