fix: reset send view onDidMount
This commit is contained in:
parent
34314d766a
commit
a4b6dbb34b
|
@ -115,6 +115,11 @@ const initialState = {
|
|||
export class SendView extends PureComponent<Props, State> {
|
||||
state = initialState;
|
||||
|
||||
componentDidMount() {
|
||||
const { resetSendView } = this.props;
|
||||
resetSendView();
|
||||
}
|
||||
|
||||
handleChange = (field: string) => (value: string) => {
|
||||
this.setState(() => ({
|
||||
[field]: value,
|
||||
|
|
Loading…
Reference in New Issue