OnSettled return void change in recent update causes error, how to solve?
We used to return a context on the onSettled to reset it to null (see screenshot) after the onSettled return type change to
void | Promise<void>it started to throw an error. How can we achieve the same result now?