can someone tell me why this doesnt work?
OnSubmit = () => {
this.SetAttributesForDTO(this.state.attributeList, this.test = () => {
//Test Function gets called after this.SetAttributesForDTO function
})}
i want a function which calls first "SetAttributesForDTO" and after that function is done, i want to call anotherone ..