@times-components/ts-components 1.146.2-0f9388fe36c532b90db3f35d17847fc17a611f1e.44 → 1.146.2-be27d508c972211ad80599875cd69c63bf67d4b1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,8 @@ import {
9
9
  Title,
10
10
  Subtitle,
11
11
  TitleLink,
12
- StaticCardsGrid
12
+ StaticCardsGrid,
13
+ StyledLink
13
14
  } from './styles';
14
15
  import { ChevronRightIcon } from './assets';
15
16
 
@@ -83,15 +84,14 @@ export const TripCardsLayout: FC<TripCardsLayoutProps> = ({
83
84
  >
84
85
  <TitleContent data-testid="title-content">
85
86
  {titleurl ? (
86
- <TitleLink
87
+ <StyledLink
87
88
  href={titleurl}
88
89
  target="_blank"
89
90
  rel="noopener noreferrer"
90
91
  data-testid="trip-cards-title-link"
91
- style={{ textDecoration: 'none', color: 'inherit' }}
92
92
  >
93
93
  <Title data-testid="trip-cards-title">{title}</Title>
94
- </TitleLink>
94
+ </StyledLink>
95
95
  ) : (
96
96
  <Title data-testid="trip-cards-title">{title}</Title>
97
97
  )}