Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed Jul 28, 2021
1 parent a964270 commit 498b558
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/components/PopoverWithMeasuredContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ class PopoverWithMeasuredContent extends Component {
}

render() {
console.debug('render');
const adjustedAnchorPosition = this.calculateAdjustedAnchorPosition();
const horizontalShift = computeHorizontalShift(
adjustedAnchorPosition.left,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ class PopoverReportActionContextMenu extends React.Component {
}

runAfterContextMenuHide() {
console.debug('callback');
this.onPopoverHide();

// After we have called the action, reset it.
Expand All @@ -172,7 +171,6 @@ class PopoverReportActionContextMenu extends React.Component {
reportActionDraftMessage: '',
isPopoverVisible: false,
});
console.debug('reset state');
}

/**
Expand Down
3 changes: 0 additions & 3 deletions src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import ReportActionItemMessage from './ReportActionItemMessage';
import UnreadActionIndicator from '../../../components/UnreadActionIndicator';
import ReportActionItemMessageEdit from './ReportActionItemMessageEdit';
import compose from '../../../libs/compose';
import withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';
import withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';
import ControlSelection from '../../../libs/ControlSelection';
import canUseTouchScreen from '../../../libs/canUseTouchscreen';
Expand Down Expand Up @@ -50,7 +49,6 @@ const propTypes = {
/** Draft message - if this is set the comment is in 'edit' mode */
draftMessage: PropTypes.string,

...withLocalizePropTypes,
...windowDimensionsPropTypes,
};

Expand Down Expand Up @@ -187,7 +185,6 @@ ReportActionItem.defaultProps = defaultProps;

export default compose(
withWindowDimensions,
withLocalize,
withOnyx({
draftMessage: {
key: ({
Expand Down

0 comments on commit 498b558

Please sign in to comment.