Skip to content

Commit

Permalink
Merge pull request GeekyAnts#5350 from GeekyAnts/fix/link-isunderline…
Browse files Browse the repository at this point in the history
…-inside-pseudo-prop

fix/link-isunderline-inside-pseudo-prop
  • Loading branch information
surajahmed authored Oct 11, 2022
2 parents 0b34e8f + 4dc754e commit 0a51da3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/theme/components/link.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
const baseStyle = (props: Record<string, any>) => {
const { isUnderlined } = props;
const baseStyle = () => {
return {
_text: {
textDecorationLine: isUnderlined ? 'underline' : 'none',
},
width: 'auto',
height: 'auto',
};
Expand Down

0 comments on commit 0a51da3

Please sign in to comment.