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