Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Oct 20, 2023
1 parent 58b9328 commit 15e76ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function Text(
fontSize,
textAlign,
fontFamily: fontFamily[family],
...(typeof mergedStyles === 'object' ? mergedStyles : {}),
...mergedStyles,
};

if (!componentStyle.lineHeight && componentStyle.fontSize === variables.fontSizeNormal) {
Expand Down

0 comments on commit 15e76ab

Please sign in to comment.