Skip to content

Commit 078fdc9

Browse files
authored
Remove bumplink symbol (#23539)
* run prettier * removing space * run prettier again
1 parent e126be0 commit 078fdc9

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

components/ui/BumpLink/BumpLink.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ export type BumpLinkPropsT = {
1414
export const BumpLink = ({ as, children, href, title, className }: BumpLinkPropsT) => {
1515
const Component = as || 'a'
1616

17-
const symbol = <span className={styles.symbol}></span>
1817
let extendedTitle: ReactNode
1918
if (typeof title === 'string') {
20-
extendedTitle = (
21-
<span className="h4">
22-
{title} {symbol}
23-
</span>
24-
)
19+
extendedTitle = <span className="h4">{title}</span>
2520
} else {
26-
extendedTitle = cloneElement(title, title.props, title.props.children, symbol)
21+
extendedTitle = cloneElement(title, title.props, title.props.children)
2722
}
2823

2924
return (

0 commit comments

Comments
 (0)