Skip to content

Commit

Permalink
MHV-55122: Follow up fix of a link (#28319)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmenshutin-bylight authored and Peter Hill committed Mar 14, 2024
1 parent 2274c73 commit 6061e64
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -8,7 +8,6 @@ import FillRefillButton from '../shared/FillRefillButton';
import StatusDropdown from '../shared/StatusDropdown';
import ExtraDetails from '../shared/ExtraDetails';
import { selectRefillContentFlag } from '../../util/selectors';
import { medicationsUrls } from '../../util/constants';

const VaPrescription = prescription => {
const showRefillContent = useSelector(selectRefillContentFlag);
Expand Down Expand Up @@ -41,7 +40,7 @@ const VaPrescription = prescription => {
{showRefillContent && prescription?.isRefillable ? (
<Link
className="vads-u-display--block vads-c-action-link--green vads-u-margin-top--3 vads-u-margin-bottom--3"
to={medicationsUrls.MEDICATIONS_REFILL}
to="/refill"
data-testid="refill-nav-link"
>
{hasBeenDispensed ? 'Refill' : 'Fill'} this prescription
Expand Down

0 comments on commit 6061e64

Please sign in to comment.