Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
openDialog = () => {
Dialog.alert({
content: this.renderControlContent(),
title: 'Select columns',
onOk: () => {
this.setState({
cols: this.changedCols || this.state.cols,
})
return true
},
})
}