remove react.memo from playbutton

This commit is contained in:
Reinaldo Neto 2023-10-23 18:02:16 -03:00
parent 174ca9107b
commit 8468c1ce96
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ const BUTTON_HIT_SLOP = { top: 12, right: 12, bottom: 12, left: 12 };
type TCustomIconName = 'arrow-down' | 'play-shape-filled' | 'pause-shape-filled';
const PlayButton = React.memo(({ loading, paused, onPress, disabled, isReadyToPlay }: IButton) => {
const PlayButton = ({ loading, paused, onPress, disabled, isReadyToPlay }: IButton) => {
const { colors } = useTheme();
let customIconName: TCustomIconName = 'arrow-down';
@ -40,6 +40,6 @@ const PlayButton = React.memo(({ loading, paused, onPress, disabled, isReadyToPl
)}
</Touchable>
);
});
};
export default PlayButton;