Skip to content

Commit

Permalink
Address feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipaval committed Feb 13, 2023
1 parent c0f48bb commit da56773
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/DeeplinkWrapper/index.website.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _, {compose} from 'underscore';
import _ from 'underscore';
import {View} from 'react-native';
import PropTypes from 'prop-types';
import React, {PureComponent} from 'react';
Expand All @@ -10,6 +10,7 @@ import * as Illustrations from '../Icon/Illustrations';
import withLocalize, {withLocalizePropTypes} from '../withLocalize';
import Text from '../Text';
import styles from '../../styles/styles';
import compose from '../../libs/compose';
import CONST from '../../CONST';
import CONFIG from '../../CONFIG';
import Icon from '../Icon';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ValidateLoginPage/index.website.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {compose} from 'underscore';
import {withOnyx} from 'react-native-onyx';
import lodashGet from 'lodash/get';
import {
propTypes as validateLinkPropTypes,
defaultProps as validateLinkDefaultProps,
} from './validateLinkPropTypes';
import * as User from '../../libs/actions/User';
import compose from '../../libs/compose';
import FullScreenLoadingIndicator from '../../components/FullscreenLoadingIndicator';
import ValidateCodeModal from '../../components/ValidateCodeModal';
import ONYXKEYS from '../../ONYXKEYS';
Expand Down
3 changes: 2 additions & 1 deletion src/pages/signin/ChangeExpensifyLoginLink.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import {TouchableOpacity, View} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import _ from 'underscore';
import PropTypes from 'prop-types';
import Str from 'expensify-common/lib/str';
import Text from '../../components/Text';
Expand Down Expand Up @@ -30,7 +31,7 @@ const defaultProps = {

const ChangeExpensifyLoginLink = props => (
<View style={[styles.changeExpensifyLoginLinkContainer, styles.mt3]}>
{props.credentials.login && (
{!_.isEmpty(props.credentials.login) && (
<Text>
{props.translate('common.not')}
&nbsp;
Expand Down

0 comments on commit da56773

Please sign in to comment.