diff --git a/src/components/AnonymousReportFooter.js b/src/components/AnonymousReportFooter.js index 08a4a04e64dd..ccd51391a50f 100644 --- a/src/components/AnonymousReportFooter.js +++ b/src/components/AnonymousReportFooter.js @@ -1,10 +1,9 @@ import React from 'react'; import {View, Text} from 'react-native'; +import PropTypes from 'prop-types'; import Button from './Button'; import AvatarWithDisplayName from './AvatarWithDisplayName'; import ExpensifyWordmark from './ExpensifyWordmark'; -import compose from '../libs/compose'; -import withWindowDimensions, {windowDimensionsPropTypes} from './withWindowDimensions'; import withLocalize, {withLocalizePropTypes} from './withLocalize'; import reportPropTypes from '../pages/reportPropTypes'; import CONST from '../CONST'; @@ -15,17 +14,19 @@ const propTypes = { /** The report currently being looked at */ report: reportPropTypes, - ...windowDimensionsPropTypes, + isSmallSizeLayout: PropTypes.bool, + ...withLocalizePropTypes, }; const defaultProps = { report: {}, + isSmallSizeLayout: false, }; function AnonymousReportFooter(props) { return ( - + - - - + + + - {props.translate('anonymousReportFooter.logoTagline')} + {props.translate('anonymousReportFooter.logoTagline')} - +