Rename Request{Pending,Finished}Web3 -> Request{Pending,Finished}

This commit is contained in:
Jaco Greeff 2016-11-18 22:30:36 +01:00
parent d1e6b9ec5e
commit 1c4779683f
7 changed files with 11 additions and 11 deletions

View File

@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Parity. If not, see <http://www.gnu.org/licenses/>.
export default from './RequestPendingWeb3'; export default from './requestFinished';

View File

@ -19,7 +19,7 @@ import React, { Component, PropTypes } from 'react';
import TransactionFinished from '../TransactionFinished'; import TransactionFinished from '../TransactionFinished';
import SignRequest from '../SignRequest'; import SignRequest from '../SignRequest';
export default class RequestFinishedWeb3 extends Component { export default class RequestFinished extends Component {
static propTypes = { static propTypes = {
id: PropTypes.object.isRequired, id: PropTypes.object.isRequired,
result: PropTypes.any.isRequired, result: PropTypes.any.isRequired,

View File

@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Parity. If not, see <http://www.gnu.org/licenses/>.
export default from './RequestFinishedWeb3'; export default from './requestPending';

View File

@ -19,7 +19,7 @@ import React, { Component, PropTypes } from 'react';
import TransactionPending from '../TransactionPending'; import TransactionPending from '../TransactionPending';
import SignRequest from '../SignRequest'; import SignRequest from '../SignRequest';
export default class RequestPendingWeb3 extends Component { export default class RequestPending extends Component {
static propTypes = { static propTypes = {
id: PropTypes.object.isRequired, id: PropTypes.object.isRequired,
onConfirm: PropTypes.func.isRequired, onConfirm: PropTypes.func.isRequired,

View File

@ -14,5 +14,5 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Parity. If not, see <http://www.gnu.org/licenses/>.
export RequestFinishedWeb3 from './RequestFinishedWeb3'; export RequestFinished from './RequestFinished';
export RequestPendingWeb3 from './RequestPendingWeb3'; export RequestPending from './RequestPending';

View File

@ -23,7 +23,7 @@ import Store from '../../store';
import * as RequestsActions from '../../../../redux/providers/signerActions'; import * as RequestsActions from '../../../../redux/providers/signerActions';
import { Container } from '../../../../ui'; import { Container } from '../../../../ui';
import { RequestPendingWeb3 } from '../../components'; import { RequestPending } from '../../components';
import styles from './embedded.css'; import styles from './embedded.css';
@ -82,7 +82,7 @@ class Embedded extends Component {
const { payload, id, isSending, date } = data; const { payload, id, isSending, date } = data;
return ( return (
<RequestPendingWeb3 <RequestPending
className={ styles.request } className={ styles.request }
onConfirm={ actions.startConfirmRequest } onConfirm={ actions.startConfirmRequest }
onReject={ actions.startRejectRequest } onReject={ actions.startRejectRequest }

View File

@ -23,7 +23,7 @@ import Store from '../../store';
import * as RequestsActions from '../../../../redux/providers/signerActions'; import * as RequestsActions from '../../../../redux/providers/signerActions';
import { Container, ContainerTitle } from '../../../../ui'; import { Container, ContainerTitle } from '../../../../ui';
import { RequestPendingWeb3, RequestFinishedWeb3 } from '../../components'; import { RequestPending, RequestFinished } from '../../components';
import styles from './RequestsPage.css'; import styles from './RequestsPage.css';
@ -108,7 +108,7 @@ class RequestsPage extends Component {
const { payload, id, isSending, date } = data; const { payload, id, isSending, date } = data;
return ( return (
<RequestPendingWeb3 <RequestPending
className={ styles.request } className={ styles.request }
onConfirm={ actions.startConfirmRequest } onConfirm={ actions.startConfirmRequest }
onReject={ actions.startRejectRequest } onReject={ actions.startRejectRequest }
@ -128,7 +128,7 @@ class RequestsPage extends Component {
const { payload, id, result, msg, status, error, date } = data; const { payload, id, result, msg, status, error, date } = data;
return ( return (
<RequestFinishedWeb3 <RequestFinished
className={ styles.request } className={ styles.request }
result={ result } result={ result }
key={ id } key={ id }