Fix warnings
This commit is contained in:
parent
3d5028e41b
commit
48715efec8
|
@ -100,10 +100,12 @@ class ContractFunction extends Component {
|
||||||
))}
|
))}
|
||||||
</Form>
|
</Form>
|
||||||
{!ContractFunction.isPureCall(this.props.method) &&
|
{!ContractFunction.isPureCall(this.props.method) &&
|
||||||
<Col xs={12} style={{"margin-bottom": "5px", "margin-top": "5px"}}>
|
<Col xs={12} className="my-2">
|
||||||
<Row>
|
<Row>
|
||||||
<strong className="collapsable" onClick={() => this.toggleOptions()}><i className={this.state.optionsCollapse ? 'fa fa-caret-down' : 'fa fa-caret-right'}/>Advanced Options</strong>
|
<strong className="collapsable" onClick={() => this.toggleOptions()}>
|
||||||
<Col xs={12} style={{"margin-bottom": "5px", "margin-top": "5px"}}>
|
<i className={this.state.optionsCollapse ? 'fa fa-caret-down' : 'fa fa-caret-right'}/>Advanced Options
|
||||||
|
</strong>
|
||||||
|
<Col xs={12} className="my-2">
|
||||||
<Row>
|
<Row>
|
||||||
<Collapse isOpen={this.state.optionsCollapse}>
|
<Collapse isOpen={this.state.optionsCollapse}>
|
||||||
<Form action="" method="post" inline>
|
<Form action="" method="post" inline>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {Row, Col, Card, CardHeader, CardBody, CardTitle} from "reactstrap";
|
import {Row, Col, Card, CardHeader, CardBody} from "reactstrap";
|
||||||
import {Link} from 'react-router-dom';
|
import {Link} from 'react-router-dom';
|
||||||
import {formatContractForDisplay} from '../utils/presentation';
|
import {formatContractForDisplay} from '../utils/presentation';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue