I am working with Material UI and I am using Link component prop to define the routes . I have multiple routes like
/home
/contact
/login
But when I am clicking on /home then /contact so it goes to /home/contact instead of /contact . How can I fix this issue so my page goes to /contact instead of stacking up on previous route .