Rename Request{Pending,Finished}Web3 -> Request{Pending,Finished}
This commit is contained in:
parent
d1e6b9ec5e
commit
1c4779683f
@ -14,4 +14,4 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
export default from './RequestPendingWeb3';
|
||||
export default from './requestFinished';
|
@ -19,7 +19,7 @@ import React, { Component, PropTypes } from 'react';
|
||||
import TransactionFinished from '../TransactionFinished';
|
||||
import SignRequest from '../SignRequest';
|
||||
|
||||
export default class RequestFinishedWeb3 extends Component {
|
||||
export default class RequestFinished extends Component {
|
||||
static propTypes = {
|
||||
id: PropTypes.object.isRequired,
|
||||
result: PropTypes.any.isRequired,
|
@ -14,4 +14,4 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
export default from './RequestFinishedWeb3';
|
||||
export default from './requestPending';
|
@ -19,7 +19,7 @@ import React, { Component, PropTypes } from 'react';
|
||||
import TransactionPending from '../TransactionPending';
|
||||
import SignRequest from '../SignRequest';
|
||||
|
||||
export default class RequestPendingWeb3 extends Component {
|
||||
export default class RequestPending extends Component {
|
||||
static propTypes = {
|
||||
id: PropTypes.object.isRequired,
|
||||
onConfirm: PropTypes.func.isRequired,
|
@ -14,5 +14,5 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
export RequestFinishedWeb3 from './RequestFinishedWeb3';
|
||||
export RequestPendingWeb3 from './RequestPendingWeb3';
|
||||
export RequestFinished from './RequestFinished';
|
||||
export RequestPending from './RequestPending';
|
||||
|
@ -23,7 +23,7 @@ import Store from '../../store';
|
||||
import * as RequestsActions from '../../../../redux/providers/signerActions';
|
||||
import { Container } from '../../../../ui';
|
||||
|
||||
import { RequestPendingWeb3 } from '../../components';
|
||||
import { RequestPending } from '../../components';
|
||||
|
||||
import styles from './embedded.css';
|
||||
|
||||
@ -82,7 +82,7 @@ class Embedded extends Component {
|
||||
const { payload, id, isSending, date } = data;
|
||||
|
||||
return (
|
||||
<RequestPendingWeb3
|
||||
<RequestPending
|
||||
className={ styles.request }
|
||||
onConfirm={ actions.startConfirmRequest }
|
||||
onReject={ actions.startRejectRequest }
|
||||
|
@ -23,7 +23,7 @@ import Store from '../../store';
|
||||
import * as RequestsActions from '../../../../redux/providers/signerActions';
|
||||
import { Container, ContainerTitle } from '../../../../ui';
|
||||
|
||||
import { RequestPendingWeb3, RequestFinishedWeb3 } from '../../components';
|
||||
import { RequestPending, RequestFinished } from '../../components';
|
||||
|
||||
import styles from './RequestsPage.css';
|
||||
|
||||
@ -108,7 +108,7 @@ class RequestsPage extends Component {
|
||||
const { payload, id, isSending, date } = data;
|
||||
|
||||
return (
|
||||
<RequestPendingWeb3
|
||||
<RequestPending
|
||||
className={ styles.request }
|
||||
onConfirm={ actions.startConfirmRequest }
|
||||
onReject={ actions.startRejectRequest }
|
||||
@ -128,7 +128,7 @@ class RequestsPage extends Component {
|
||||
const { payload, id, result, msg, status, error, date } = data;
|
||||
|
||||
return (
|
||||
<RequestFinishedWeb3
|
||||
<RequestFinished
|
||||
className={ styles.request }
|
||||
result={ result }
|
||||
key={ id }
|
||||
|
Loading…
Reference in New Issue
Block a user