Skip to content

Commit

Permalink
chore: get rid of type assetion
Browse files Browse the repository at this point in the history
  • Loading branch information
BogiKay committed Dec 16, 2024
1 parent aaf1254 commit ea6c736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ const Button = (
buttonStyle,
style,
!isV3 && !disabled && { elevation },
] as StyleProp<ViewStyle>
] satisfies Animated.WithAnimatedValue<StyleProp<ViewStyle>>
}
{...(isV3 && { elevation: elevation })}
>
Expand Down

0 comments on commit ea6c736

Please sign in to comment.