File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,11 @@ import styles from './ArticleCard.module.scss'
88type Props = {
99 card : ArticleGuide
1010 typeLabel : string
11- tabIndex ?: number
1211}
1312
14- export const ArticleCard = ( { tabIndex , card, typeLabel } : Props ) => {
13+ export const ArticleCard = ( { card, typeLabel } : Props ) => {
1514 return (
16- < li
17- tabIndex = { tabIndex }
18- data-testid = "article-card"
19- className = "d-flex col-12 col-md-4 pr-0 pr-md-6 pr-lg-8"
20- >
15+ < li data-testid = "article-card" className = "d-flex col-12 col-md-4 pr-0 pr-md-6 pr-lg-8" >
2116 < Link className = "no-underline d-flex flex-column py-3 border-bottom" href = { card . href } >
2217 < h3 className = "h4 color-fg-default mb-1" > { card . title } </ h3 >
2318 < div className = "h6 text-uppercase" data-testid = "article-card-type" >
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ export const ArticleCards = () => {
3232 { guides . map ( ( card , i ) => {
3333 return (
3434 < ArticleCard
35- tabIndex = { - 1 }
3635 key = { card . href + i }
3736 card = { card }
3837 typeLabel = { guideTypes [ card . type ] as string }
You can’t perform that action at this time.
0 commit comments