Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirect to /update-profile and correct icon for Update Profile b… #12

Closed
wants to merge 1 commit into from
Closed

Add redirect to /update-profile and correct icon for Update Profile b… #12

wants to merge 1 commit into from

Conversation

Rahulagg13
Copy link

@Rahulagg13 Rahulagg13 commented Oct 5, 2024

Add Redirect to /update-profile and Correct Icon for Update Profile Button

Description

This pull request adds functionality to redirect the user to the /update-profile page when clicking on the "Update Profile" button. Additionally, it includes the correct user-edit icon for the button to enhance the UI.

Related Issue

Fixes #6

##Screen Recording

Screen.Recording.2024-10-05.at.8.02.37.PM.mov

Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
xf-registration-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 5, 2024 1:32pm

@manzil-infinity180
Copy link
Owner

@Rahulagg13 add video of new behaviour

Update Profile</button>
<button className='btn_login' onClick={navigate('/')}>
<button className='btn_login' onClick={()=>navigate('/')}>
Copy link
Owner

@manzil-infinity180 manzil-infinity180 Oct 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be ()=>navigate('/update-profile')

@Rahulagg13 Rahulagg13 deleted the refactor/update-profile-redirect-icon branch October 10, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When i click on Update Profile it should redirect to /update-profile and also add correct Icon
2 participants