Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onChange={(d) => {
if (d) {
this.updateParam(DatePicker.format(d, 'yyyy-MM E'), v.key, index)
} else {
this.updateParam(d, v.key, index)
}
}} />
}