fix: clear variable editor on close (#16623)

pull/16626/head
Alex Boatwright 2020-01-22 09:12:25 -08:00 committed by GitHub
parent 1e41be33ce
commit b71ef8a805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -67,9 +67,10 @@ type Props = ComponentProps & DispatchProps & StateProps
class VariableFormContext extends PureComponent<Props> {
render() {
const props = {
onHideOverlay: this.handleHideOverlay,
...this.props,
onHideOverlay: this.handleHideOverlay,
}
return <VariableForm {...props} />
}