* move transaction reset to componentWillMount * revert initialState change
This commit is contained in:
parent
d75cd5ccdb
commit
c21d520422
|
@ -68,9 +68,14 @@ class TXMetaDataPanel extends React.Component<Props, State> {
|
||||||
sliderState: (this.props as DefaultProps).initialState
|
sliderState: (this.props as DefaultProps).initialState
|
||||||
};
|
};
|
||||||
|
|
||||||
public componentDidMount() {
|
public componentWillMount() {
|
||||||
if (!this.props.offline) {
|
if (!this.props.offline) {
|
||||||
this.props.resetTransactionRequested();
|
this.props.resetTransactionRequested();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public componentDidMount() {
|
||||||
|
if (!this.props.offline) {
|
||||||
this.props.fetchCCRates([this.props.network.unit]);
|
this.props.fetchCCRates([this.props.network.unit]);
|
||||||
this.props.getNonceRequested();
|
this.props.getNonceRequested();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue