generated from muhtadeetaron/nextjs-template
fix(func): fix issues in results page
This commit is contained in:
@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user