"Invalid number of arguments, expected 0" error while dispatching an action

Hello! 

I get "Invalid number of arguments, expected 0" error while dispatching an action. I'm using Redux Toolkit and createAction function. 

I haven't had such warning before on other projects. What it might be?

Please sign in to leave a comment.