Skip to content

Commit b45af9a

Browse files
authored
remove unnecessary view (#1084)
1 parent 8c18bb8 commit b45af9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/badge/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,10 @@ class Badge extends PureComponent<BadgeProps> {
275275
activeOpacity={activeOpacity}
276276
hitSlop={hitSlop}
277277
{...animationProps}
278+
row
278279
>
279-
<View flex row centerV>
280280
{icon && this.renderIcon()}
281281
{label && this.renderLabel()}
282-
</View>
283282
</Container>
284283
</View>
285284
);

0 commit comments

Comments
 (0)