Skip to content

Commit b2ef36a

Browse files
committed
Link icon already added via classname co-external-link
1 parent 4429cc4 commit b2ef36a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/gitops/utils/components/ExternalLink/ExternalLink.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import * as React from 'react';
22
import classNames from 'classnames';
33

4-
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
5-
64
type ExternalLinkProps = {
75
href: string;
86
text?: React.ReactNode;
@@ -27,7 +25,7 @@ const ExternalLink: React.FC<ExternalLinkProps> = ({
2725
data-test-id={dataTestID}
2826
{...(stopPropagation ? { onClick: (e) => e.stopPropagation() } : {})}
2927
>
30-
{children || text} <ExternalLinkAltIcon />
28+
{children || text}
3129
</a>
3230
);
3331

0 commit comments

Comments
 (0)