Skip to content

Commit e655c37

Browse files
authored
fix headingindicator bug (rnmapbox#3837)
1 parent 75136ba commit e655c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/UserLocation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const normalIcon = (
5353
style={layerStyles.normal.foreground}
5454
/>,
5555
...(showsUserHeadingIndicator && typeof heading === 'number'
56-
? [HeadingIndicator({ heading, key: 'mapboxUserLocationHeadingIndicator' })]
56+
? [<HeadingIndicator heading={heading} key="mapboxUserLocationHeadingIndicator" />]
5757
: []),
5858
];
5959

0 commit comments

Comments
 (0)