1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 00:18:07 +00:00

Removed unused classnames

This commit is contained in:
Vladimir Volek 2018-08-31 22:51:17 +02:00
parent 7430d61254
commit c32fc2dc6a
5 changed files with 5 additions and 9 deletions

View File

@ -30,7 +30,7 @@ const Copy = styled.div`
const Footer = ({ toggle }) => (
<Wrapper>
<Copy>&copy; {getYear(new Date())}</Copy>
<StyledLink href="http://satoshilabs.com" target="_blank" rel="noreferrer noopener" className="satoshi" isGreen>SatoshiLabs</StyledLink>
<StyledLink href="http://satoshilabs.com" target="_blank" rel="noreferrer noopener" isGreen>SatoshiLabs</StyledLink>
<StyledLink href="tos.pdf" target="_blank" rel="noreferrer noopener" isGreen>Terms</StyledLink>
<StyledLink onClick={toggle} isGreen>Show Log</StyledLink>
</Wrapper>

View File

@ -132,7 +132,7 @@ class Modal extends Component<Props> {
if (opened) {
ch = (
<Fade key="1">
<ModalContainer className="modal-container">
<ModalContainer>
<ModalWindow>
{ component }
</ModalWindow>

View File

@ -314,7 +314,7 @@ export default class PinModal extends Component<Props, State> {
<Checkbox onClick={showPassphraseCheckboxFn} checked={visible}>Show passphrase</Checkbox>
</Row>
<Row>
<Button type="button" className="submit" tabIndex="4" disabled={!match} onClick={event => this.submit()}>Enter</Button>
<Button type="button" tabIndex="4" disabled={!match} onClick={event => this.submit()}>Enter</Button>
</Row>
<Footer>
<P isSmaller>If you want to access your default account</P>

View File

@ -139,7 +139,7 @@ class Pin extends Component<Props, State> {
const { device } = this.props.modal;
const { pin } = this.state;
return (
<Wrapper className="pin">
<Wrapper>
<H2>Enter { device.label } PIN</H2>
<P isSmaller>The PIN layout is displayed on your TREZOR.</P>
<InputRow>

View File

@ -114,11 +114,7 @@ class DeviceMenu extends Component<Props> {
/>
<ButtonWrapper>
{isWebUSB(transport) && (
<StyledButton
className="trezor-webusb-button"
isWebUsb
>Check for devices
</StyledButton>
<StyledButton isWebUsb>Check for devices</StyledButton>
)}
</ButtonWrapper>
</Wrapper>