Swap from params to 0, keeps old (#957)
This commit is contained in:
parent
33591f9254
commit
cb0cb73e0f
@ -166,7 +166,7 @@ class Call extends React.PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
private onChangeMethod = (method: string | null): void => {
|
||||
this.setState({ method });
|
||||
this.setState({ method, params: [] });
|
||||
}
|
||||
|
||||
private onChangeParams = (params: Array<any>): void => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user