Skip to content

Commit

Permalink
refactor: ReportActionCompose remove withWindowDimensions - unused
Browse files Browse the repository at this point in the history
This is no longer needed - functionality extracted outside
  • Loading branch information
kidroca committed Apr 5, 2021
1 parent 5d2f079 commit 199fb11
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pages/home/report/ReportActionCompose.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import AttachmentPicker from '../../../components/AttachmentPicker';
import {addAction, saveReportComment, broadcastUserIsTyping} from '../../../libs/actions/Report';
import ReportTypingIndicator from './ReportTypingIndicator';
import AttachmentModal from '../../../components/AttachmentModal';
import withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';
import compose from '../../../libs/compose';
import CreateMenu from '../../../components/CreateMenu';

Expand Down Expand Up @@ -43,8 +42,6 @@ const propTypes = {
// participants associated with current report
participants: PropTypes.arrayOf(PropTypes.string),
}).isRequired,

...windowDimensionsPropTypes,
};

const defaultProps = {
Expand Down Expand Up @@ -312,5 +309,4 @@ export default compose(
key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
},
}),
withWindowDimensions,
)(ReportActionCompose);

0 comments on commit 199fb11

Please sign in to comment.