Skip to content

Commit

Permalink
fix: revert datasets link to catalog (#3336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran McDade authored and Fran McDade committed Nov 8, 2024
1 parent 7240dad commit ebb2f06
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ import { CardSecondaryText } from "@databiosphere/findable-ui/lib/components/com
import { CardTitle } from "@databiosphere/findable-ui/lib/components/common/Card/components/CardTitle/cardTitle";
import { ForwardArrowIcon } from "@databiosphere/findable-ui/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon";
import { RoundedPaper } from "@databiosphere/findable-ui/lib/components/common/Paper/paper.styles";
import {
ANCHOR_TARGET,
REL_ATTRIBUTE,
} from "@databiosphere/findable-ui/lib/components/Links/common/entities";
import { ANCHOR_TARGET } from "@databiosphere/findable-ui/lib/components/Links/common/entities";
import { CardActionArea as MCardActionArea } from "@mui/material";
import { Fragment } from "react";
import { SectionCardWithLink } from "../../../../../../../../common/entities";
Expand All @@ -23,7 +20,6 @@ export const Cards = ({ cards }: CardsProps): JSX.Element => {
<Card key={i} component={RoundedPaper}>
<MCardActionArea
href={link.url}
rel={REL_ATTRIBUTE.NO_OPENER_NO_REFERRER}
target={link.target || ANCHOR_TARGET.SELF}
>
<CardSection>
Expand Down

0 comments on commit ebb2f06

Please sign in to comment.