Skip to content

Commit

Permalink
Use componentStyle fontSize, not prop
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jul 10, 2021
1 parent 41b7c07 commit 993be46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Text = React.forwardRef(({
...mergedStyles,
};

if (fontSize === variables.fontSizeNormal) {
if (componentStyle.fontSize === variables.fontSizeNormal) {
componentStyle.lineHeight = 20;
}

Expand Down

0 comments on commit 993be46

Please sign in to comment.