Skip to content

Commit baf1d29

Browse files
committed
break fix
1 parent 2bb1e3f commit baf1d29

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/components/PopoverWithMeasuredContent.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class PopoverWithMeasuredContent extends Component {
6262
this.popoverHeight = 0;
6363

6464
this.measurePopover = this.measurePopover.bind(this);
65-
this.setContentMeasured = this.setContentMeasured.bind(this);
6665
}
6766

6867
static getDerivedStateFromProps(props, state) {

src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import {View} from 'react-native';
3+
import _ from 'underscore';
34
import getReportActionContextMenuStyles from '../../../../styles/getReportActionContextMenuStyles';
45
import ContextMenuItem from '../../../../components/ContextMenuItem';
56
import {
@@ -24,7 +25,7 @@ class BaseReportActionContextMenu extends React.Component {
2425
render() {
2526
return this.props.isVisible && (
2627
<View style={this.wrapperStyle}>
27-
{ContextMenuActions.map(contextAction => contextAction.shouldShow(this.props.reportAction) && (
28+
{_.map(ContextMenuActions, contextAction => contextAction.shouldShow(this.props.reportAction) && (
2829
<ContextMenuItem
2930
icon={contextAction.icon}
3031
text={this.props.translate(contextAction.textTranslateKey)}

src/pages/home/report/ContextMenu/ReportActionContextMenu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ function showDeleteModal(reportID, reportAction) {
7373
if (!contextMenuRef.current) {
7474
return;
7575
}
76-
console.debug(reportID, reportAction);
7776
contextMenuRef.current.showDeleteModal(reportID, reportAction);
7877
}
7978

0 commit comments

Comments
 (0)