Skip to content

Commit

Permalink
break fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed Jul 28, 2021
1 parent 2bb1e3f commit baf1d29
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/PopoverWithMeasuredContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class PopoverWithMeasuredContent extends Component {
this.popoverHeight = 0;

this.measurePopover = this.measurePopover.bind(this);
this.setContentMeasured = this.setContentMeasured.bind(this);
}

static getDerivedStateFromProps(props, state) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import {View} from 'react-native';
import _ from 'underscore';
import getReportActionContextMenuStyles from '../../../../styles/getReportActionContextMenuStyles';
import ContextMenuItem from '../../../../components/ContextMenuItem';
import {
Expand All @@ -24,7 +25,7 @@ class BaseReportActionContextMenu extends React.Component {
render() {
return this.props.isVisible && (
<View style={this.wrapperStyle}>
{ContextMenuActions.map(contextAction => contextAction.shouldShow(this.props.reportAction) && (
{_.map(ContextMenuActions, contextAction => contextAction.shouldShow(this.props.reportAction) && (
<ContextMenuItem
icon={contextAction.icon}
text={this.props.translate(contextAction.textTranslateKey)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ function showDeleteModal(reportID, reportAction) {
if (!contextMenuRef.current) {
return;
}
console.debug(reportID, reportAction);
contextMenuRef.current.showDeleteModal(reportID, reportAction);
}

Expand Down

0 comments on commit baf1d29

Please sign in to comment.