Logged in user (advocate/non-advocate) can edit the bio of any advocate by going to their profile page. Restrict the edit functionality only to the advocate.
Expected Behavior
The logged-in user should be able to see the edit/add bio button on the 'advocates/' page only if they are viewing their own profile.
Restrict the API to not let a wallet address update the details of another wallet address.
Replace the Edit text to the Edit icon like in the design file.
Logged in user (advocate/non-advocate) can edit the bio of any advocate by going to their profile page. Restrict the edit functionality only to the advocate.
Expected Behavior
Edit
text to theEdit icon
like in the design file.Steps to Reproduce
Environment: Temp