react router redirect with same path variables code example
Example: redirect to another path react
<span className="input-group-btn">
<Link to="/login" />Click to login</Link>
</span>
<span className="input-group-btn">
<Link to="/login" />Click to login</Link>
</span>