Skip to content

Commit aca710b

Browse files
committed
Merge branch 'canary-patch' into patch
2 parents 51a28d4 + 1006fbf commit aca710b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/primitives/Text/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ const Text = ({ children, ...props }: ITextProps, ref: any) => {
6060
if (resolvedFontFamily) {
6161
fontFamily = resolvedFontFamily;
6262
}
63-
6463
// Need to apply fontWeight & fontStyle on web
6564
if (Platform.OS === 'web') {
6665
if (resolvedFontFamily) {
67-
fontFamily = resolvedFontFamily;
66+
fontFamily = resolvedFontFamily.fontFamily;
6867
}
68+
6969
resolvedFontFamily = {
7070
fontFamily,
7171
fontWeight: fontWeight ?? (hasTextAncestor ? undefined : 400),

0 commit comments

Comments
 (0)