Commit ae42e823 authored by Luke Schoen's avatar Luke Schoen
Browse files

review-fix: Move AnchorTxDetails into TxForm.styles.js

parent 75f1576f
......@@ -15,7 +15,6 @@ import { isAddress } from '@parity/api/lib/util/address';
import { Link } from 'react-router-dom';
import { OnChange } from 'react-final-form-listeners';
import { withProps } from 'recompose';
import styled from 'styled-components';
import { DivWindowContent } from '../../assets/theme/shared/styledComponents/DivWindowContent.styles';
import { estimateGas } from '../../utils/estimateGas';
......@@ -25,17 +24,13 @@ import withAccount from '../../utils/withAccount.js';
import withBalance, { withEthBalance } from '../../utils/withBalance';
import withTokens from '../../utils/withTokens';
import TxDetails from './TxDetails';
import { AnchorTxDetailsStyles } from './style';
import { AnchorTxDetails } from './TxForm.styles';
const DEFAULT_AMOUNT_MAX_CHARS = 9;
const MEDIUM_AMOUNT_MAX_CHARS = 14;
const MAX_GAS_PRICE = 40; // In Gwei
const MIN_GAS_PRICE = 3; // Safelow gas price from GasStation, in Gwei
const AnchorTxDetails = styled.span`
${AnchorTxDetailsStyles};
`;
@inject('parityStore', 'sendStore')
@withTokens
@withProps(({ match: { params: { tokenAddress } }, tokens }) => ({
......
......@@ -3,12 +3,12 @@
//
// SPDX-License-Identifier: BSD-3-Clause
import { css } from 'styled-components';
import styled from 'styled-components';
const AnchorTxDetailsStyles = css`
const AnchorTxDetails = styled.span`
color: ${props => props.theme.darkGrey};
font-size: 0.8rem;
font-weight: 400;
`;
export { AnchorTxDetailsStyles };
export { AnchorTxDetails };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment