I'm using ng2-toastr and getting the below error
https://www.npmjs.com/package/ng2-toastr
Attempt to use a destroyed view: detectChanges Error: Attempt to use a destroyed view: detectChanges at ViewDestroyedError
I have this in a button click event.