Skip to content

Commit

Permalink
fix(wkspace-popup-menu): Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed Nov 30, 2021
1 parent f9a0bcc commit 5d37753
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/ThreeDotsMenu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import PopoverMenu from '../PopoverMenu';
import styles from '../../styles/styles';
import withLocalize, {withLocalizePropTypes} from '../withLocalize';
import Tooltip from '../Tooltip';
import {ThreeDots} from '../Icon/Expensicons';
import * as Expensicons from '../Icon/Expensicons';
import ThreeDotsMenuItemPropTypes from './ThreeDotsMenuItemPropTypes';

const propTypes = {
Expand Down Expand Up @@ -45,7 +45,7 @@ const defaultProps = {
iconTooltip: 'common.more',
iconFill: undefined,
iconStyles: [],
icon: ThreeDots,
icon: Expensicons.ThreeDots,
onIconPress: () => {},
};

Expand Down
4 changes: 2 additions & 2 deletions src/libs/actions/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ function deletePolicy(policyID) {
.then((response) => {
if (response.jsonCode !== 200) {
// Show the user feedback
const errorMessage = translateLocal('workspace.new.genericFailureMessage');
const errorMessage = Localize.translateLocal('workspace.new.genericFailureMessage');
Growl.error(errorMessage, 5000);
return;
}

Growl.show(translateLocal('workspace.common.growlMessageOnDelete'), CONST.GROWL.SUCCESS, 3000);
Growl.show(Localize.translateLocal('workspace.common.growlMessageOnDelete'), CONST.GROWL.SUCCESS, 3000);

// Removing the workspace data from Onyx as well
return Onyx.set(`${ONYXKEYS.COLLECTION.POLICY}${policyID}`, null);
Expand Down
4 changes: 0 additions & 4 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2259,10 +2259,6 @@ const styles = {
borderTopWidth: 0,
},

googleListView: {
transform: [{scale: 0}],
},

iPhoneXSafeArea: {
backgroundColor: colors.black,
flex: 1,
Expand Down

0 comments on commit 5d37753

Please sign in to comment.