diff --git a/src/components/AnimatedStep.js b/src/components/AnimatedStep.js index a6d36740efcd..bb173dbe60a6 100644 --- a/src/components/AnimatedStep.js +++ b/src/components/AnimatedStep.js @@ -11,7 +11,7 @@ const propTypes = { style: PropTypes.arrayOf(PropTypes.object), /** Whether we're animating the step in or out */ - direction: PropTypes.string, + direction: PropTypes.oneOf(['in', 'out']), }; const defaultProps = { @@ -36,7 +36,7 @@ const AnimatedStep = (props) => { duration={CONST.ANIMATED_TRANSITION} animation={getAnimationStyle(props.direction)} useNativeDriver - style={[...props.style]} + style={props.style} > {props.children} diff --git a/src/pages/iou/IOUModal.js b/src/pages/iou/IOUModal.js index 700bf4e5aa48..43872a4d1d5c 100755 --- a/src/pages/iou/IOUModal.js +++ b/src/pages/iou/IOUModal.js @@ -395,6 +395,7 @@ class IOUModal extends Component { )} {currentStep === Steps.IOUConfirm && (