1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +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 }) => ( const Footer = ({ toggle }) => (
<Wrapper> <Wrapper>
<Copy>&copy; {getYear(new Date())}</Copy> <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 href="tos.pdf" target="_blank" rel="noreferrer noopener" isGreen>Terms</StyledLink>
<StyledLink onClick={toggle} isGreen>Show Log</StyledLink> <StyledLink onClick={toggle} isGreen>Show Log</StyledLink>
</Wrapper> </Wrapper>

View File

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

View File

@ -314,7 +314,7 @@ export default class PinModal extends Component<Props, State> {
<Checkbox onClick={showPassphraseCheckboxFn} checked={visible}>Show passphrase</Checkbox> <Checkbox onClick={showPassphraseCheckboxFn} checked={visible}>Show passphrase</Checkbox>
</Row> </Row>
<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> </Row>
<Footer> <Footer>
<P isSmaller>If you want to access your default account</P> <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 { device } = this.props.modal;
const { pin } = this.state; const { pin } = this.state;
return ( return (
<Wrapper className="pin"> <Wrapper>
<H2>Enter { device.label } PIN</H2> <H2>Enter { device.label } PIN</H2>
<P isSmaller>The PIN layout is displayed on your TREZOR.</P> <P isSmaller>The PIN layout is displayed on your TREZOR.</P>
<InputRow> <InputRow>

View File

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