mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-31 19:30:53 +00:00
revert wrapping with Content component
This commit is contained in:
parent
0be0c918de
commit
313b40c546
@ -2,13 +2,13 @@ import styled from 'styled-components';
|
||||
import { H1 } from 'components/Heading';
|
||||
import Button from 'components/Button';
|
||||
import Paragraph from 'components/Paragraph';
|
||||
import Content from 'views/Wallet/components/Content';
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 40px 35px 40px 35px;
|
||||
`;
|
||||
|
||||
const Row = styled.div`
|
||||
@ -26,17 +26,15 @@ const StyledParagraph = styled(Paragraph)`
|
||||
`;
|
||||
|
||||
const Initialize = () => (
|
||||
<Content>
|
||||
<Wrapper>
|
||||
<Row>
|
||||
<H1>Your device is in not initialized</H1>
|
||||
<StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph>
|
||||
<A href="https://beta-wallet.trezor.io/">
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</A>
|
||||
</Row>
|
||||
</Wrapper>
|
||||
</Content>
|
||||
<Wrapper>
|
||||
<Row>
|
||||
<H1>Your device is in not initialized</H1>
|
||||
<StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph>
|
||||
<A href="https://beta-wallet.trezor.io/">
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</A>
|
||||
</Row>
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
export default connect(null, null)(Initialize);
|
||||
|
@ -1,7 +1,6 @@
|
||||
import styled from 'styled-components';
|
||||
import { H1 } from 'components/Heading';
|
||||
import Paragraph from 'components/Paragraph';
|
||||
import Content from 'views/Wallet/components/Content';
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
@ -9,6 +8,7 @@ import { connect } from 'react-redux';
|
||||
const Wrapper = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 40px 35px 40px 35px;
|
||||
`;
|
||||
|
||||
const Row = styled.div`
|
||||
@ -24,14 +24,12 @@ const StyledParagraph = styled(Paragraph)`
|
||||
`;
|
||||
|
||||
const Seedless = () => (
|
||||
<Content>
|
||||
<Wrapper>
|
||||
<Row>
|
||||
<H1>Device is in seedless mode</H1>
|
||||
<StyledParagraph>It's not suitable to use this service.</StyledParagraph>
|
||||
</Row>
|
||||
</Wrapper>
|
||||
</Content>
|
||||
<Wrapper>
|
||||
<Row>
|
||||
<H1>Device is in seedless mode</H1>
|
||||
<StyledParagraph>It's not suitable to use this service.</StyledParagraph>
|
||||
</Row>
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
export default connect(null, null)(Seedless);
|
||||
|
Loading…
Reference in New Issue
Block a user