mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 01:08:27 +00:00
Removed classNames
This commit is contained in:
parent
a29b13789d
commit
516e7f77dc
@ -307,7 +307,7 @@ export default class PinModal extends Component<Props, State> {
|
||||
onBlur={() => this.onPassphraseBlur('revision')}
|
||||
tabIndex="2"
|
||||
/>
|
||||
{!match && passphraseRevisionTouched && <PassphraseError className="error">Passphrases do not match</PassphraseError> }
|
||||
{!match && passphraseRevisionTouched && <PassphraseError>Passphrases do not match</PassphraseError> }
|
||||
</Row>
|
||||
) }
|
||||
<Row>
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* @flow */
|
||||
|
||||
|
||||
import { createStore, applyMiddleware, compose } from 'redux';
|
||||
import { routerMiddleware, push } from 'react-router-redux';
|
||||
import thunk from 'redux-thunk';
|
||||
|
@ -89,11 +89,7 @@ class ConnectDevice extends Component<Props> {
|
||||
{this.props.showWebUsb && (
|
||||
<React.Fragment>
|
||||
<P>and</P>
|
||||
<Button
|
||||
className="trezor-webusb-button"
|
||||
isWebUsb
|
||||
>Check for devices
|
||||
</Button>
|
||||
<Button isWebUsb>Check for devices</Button>
|
||||
</React.Fragment>
|
||||
)}
|
||||
</Wrapper>
|
||||
|
@ -95,7 +95,7 @@ export default (props: Props) => {
|
||||
<Notification
|
||||
title="Initialization error"
|
||||
message="Config files are missing"
|
||||
className="error"
|
||||
type="error"
|
||||
/>
|
||||
)}
|
||||
<Notifications />
|
||||
|
@ -202,7 +202,6 @@ const AccountMenu = (props: Props): ?React$Element<string> => {
|
||||
} else {
|
||||
discoveryStatus = (
|
||||
<Tooltip
|
||||
arrowContent={<div className="rc-tooltip-arrow-inner" />}
|
||||
content={<React.Fragment>To add a new account, last account must have some transactions.</React.Fragment>}
|
||||
placement="bottom"
|
||||
>
|
||||
|
@ -42,7 +42,7 @@ const TopNavigationAccount = (props: any) => {
|
||||
const basePath = `/device/${urlParams.device}/network/${urlParams.network}/account/${urlParams.account}`;
|
||||
|
||||
return (
|
||||
<Wrapper className="account-tabs">
|
||||
<Wrapper>
|
||||
<StyledNavLink exact to={`${basePath}`}>Summary</StyledNavLink>
|
||||
<StyledNavLink to={`${basePath}/send`}>Send</StyledNavLink>
|
||||
<StyledNavLink to={`${basePath}/receive`}>Receive</StyledNavLink>
|
||||
|
@ -1,10 +1,9 @@
|
||||
/* @flow */
|
||||
|
||||
|
||||
import styled from 'styled-components';
|
||||
import React, { Component } from 'react';
|
||||
import { NavLink } from 'react-router-dom';
|
||||
|
||||
|
||||
type Props = {
|
||||
pathname: string;
|
||||
}
|
||||
@ -15,14 +14,16 @@ type State = {
|
||||
};
|
||||
}
|
||||
|
||||
const Wrapper = styled.div``;
|
||||
|
||||
const AccountTabs = (props: any): any => {
|
||||
const urlParams = props.match.params;
|
||||
const basePath = `/device/${urlParams.device}/network/${urlParams.network}/account/${urlParams.account}`;
|
||||
|
||||
return (
|
||||
<div className="account-tabs">
|
||||
<a>Device settings</a>
|
||||
</div>
|
||||
<Wrapper>
|
||||
Device settings
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -183,7 +183,6 @@ const AccountReceive = (props: Props) => {
|
||||
)}
|
||||
{(addressVerified || addressUnverified) && (
|
||||
<QRCode
|
||||
className="qr"
|
||||
bgColor="#FFFFFF"
|
||||
fgColor="#000000"
|
||||
level="Q"
|
||||
|
@ -1,14 +1,13 @@
|
||||
/* @flow */
|
||||
|
||||
|
||||
import styled from 'styled-components';
|
||||
import React from 'react';
|
||||
import { bindActionCreators } from 'redux';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
const Wrapper = styled.div``;
|
||||
|
||||
const WalletSettings = () => (
|
||||
<section className="settings">
|
||||
Wallet settings
|
||||
</section>
|
||||
<Wrapper>
|
||||
Wallet settings
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
export default connect(null, null)(WalletSettings);
|
||||
|
Loading…
Reference in New Issue
Block a user