Skip to content

Commit

Permalink
Merge pull request #3700 from LiskHQ/3698-hide-hw-link
Browse files Browse the repository at this point in the history
Temporarily hide HW sign-in link - closes #3698
  • Loading branch information
reyraa authored Jul 20, 2021
2 parents e0aa78c + 4d58e59 commit 8d8ec80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/screens/dashboard/recentTransactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export default withData({
apiUtil: (network, { token, ...params }) => getTransactions({ network, params }, token),
getApiParams: (state) => {
const token = state.settings.token.active;
const address = state.account.info ? state.account.info[token].summary.address : '';
const senderAddress = state.account.info ? state.account.info[token].summary.address : '';
return {
token,
address,
senderAddress,
network: state.network,
};
},
Expand Down
10 changes: 5 additions & 5 deletions src/components/screens/login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Piwik from '@utils/piwik';
import { PrimaryButton } from '@toolbox/buttons';
import PassphraseInput from '@toolbox/passphraseInput';
import DiscreetModeToggle from '@shared/discreetModeToggle';
import Icon from '@toolbox/icon/index';
// import Icon from '@toolbox/icon/index';
import NetworkSelector from './networkSelector';
import styles from './login.css';

Expand Down Expand Up @@ -105,8 +105,8 @@ class Login extends React.Component {

// eslint-disable-next-line complexity
render() {
const { t, network, settings } = this.props;
const canHWSignIn = !network.networks?.LSK;
const { t, settings } = this.props;
// const canHWSignIn = !network.networks?.LSK;

return (
<>
Expand Down Expand Up @@ -156,7 +156,7 @@ class Login extends React.Component {
>
{t('Sign in')}
</PrimaryButton>
{
{/* {
canHWSignIn
? (
<Link
Expand All @@ -167,7 +167,7 @@ class Login extends React.Component {
{t('Sign in with a hardware wallet')}
</Link>
) : null
}
} */}

</div>
</form>
Expand Down

0 comments on commit 8d8ec80

Please sign in to comment.