the integration of id to the reactjs url

Change

<Link to={'/profile' } className='btn-link' >

to

<Link to={`/profile/${currentUser.id}` } className='btn-link' >

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top