File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const StyledLabel = styled.label`
20
20
font-weight: 600;
21
21
` ;
22
22
23
- const StyledA = styled ( ExternalLink ) `
23
+ const StyledExternalLink = styled ( ExternalLink ) `
24
24
display: flex;
25
25
align-items: center;
26
26
gap: 8px;
@@ -35,12 +35,10 @@ export interface IElement {
35
35
36
36
export const Element : React . FC < IElement > = ( { primaryText, title, link, Icon } ) => (
37
37
< Container >
38
- < div className = "link-container" >
39
- < StyledA to = { link } target = "_blank" rel = "noopener noreferrer" >
40
- { Icon && < Icon /> }
41
- { title }
42
- </ StyledA >
43
- </ div >
38
+ < StyledExternalLink to = { link } target = "_blank" rel = "noopener noreferrer" >
39
+ { Icon && < Icon /> }
40
+ { title }
41
+ </ StyledExternalLink >
44
42
{ primaryText && < StyledLabel > { primaryText } </ StyledLabel > }
45
43
</ Container >
46
44
) ;
You can’t perform that action at this time.
0 commit comments