Skip to content

Commit bd510f9

Browse files
committed
Update Profile.js
1 parent e4029f7 commit bd510f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const Profile = () => {
166166
<form className=" bg-white shadow-md rounded px-8 pt-6 pb-8 mb-1 " onSubmit={handleSubmit}>
167167
{/* {avatar &&
168168
//<img src={`data:image/jpeg;base64, ${avatar}`} alt="Avatar" className="w-20 h-20 rounded-full mb-4" />} */}
169-
<img src={`data:image/jpeg;base64,${userDetail?.avatar}`} alt="Avatar" className="z-10 shadow-xl border-[5px] border-white top-[150px] left-1/2
169+
<img ng-src={`data:image/jpeg;base64,${userDetail?.avatar}`} alt="Avatar" className="z-10 shadow-xl border-[5px] border-white top-[150px] left-1/2
170170
transform -translate-x-1/2 absolute w-[250px] h-[250px] rounded-full mb-4 cursor-zoom-in bg-white"
171171
onClick={handleShowAvatar}/>
172172

0 commit comments

Comments
 (0)