Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jag96 committed Jun 15, 2021
1 parent 466a9bc commit c787e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/actions/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function invite(login, welcomeNote, policyID) {
// Show the user feedback that the addition failed
let errorMessage = translateLocal('workspace.invite.genericFailureMessage');
if (data.jsonCode === 402) {
errorMessage += ' ' + translateLocal('workspace.invite.pleaseEnterValidLogin');
errorMessage += ` ${translateLocal('workspace.invite.pleaseEnterValidLogin')}`;
}

Growl.show(errorMessage, CONST.GROWL.ERROR, 5000);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceInvitePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import {TextInput, View} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import Str from 'expensify-common/lib/str';
import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';
import ScreenWrapper from '../../components/ScreenWrapper';
import HeaderWithCloseButton from '../../components/HeaderWithCloseButton';
Expand All @@ -17,7 +18,6 @@ import getEmailKeyboardType from '../../libs/getEmailKeyboardType';
import themeColors from '../../styles/themes/default';
import Growl from '../../libs/Growl';
import CONST from '../../CONST';
import Str from 'expensify-common/lib/str';

const propTypes = {
...withLocalizePropTypes,
Expand Down

0 comments on commit c787e01

Please sign in to comment.