RootCauseunvalidated
The code incorrectly uses `createAction` by calling it inside a wrapper function that returns the wrong shape/usage for the action creator, leading Redux/RTK internals to call `prepareAction` as if it were properly created. This indicates a mismatch between expected action creator signature and how the wrapper is defined.
27e5f1de-d105-4516-95a5-9644f1482710
The code incorrectly uses createAction by calling it inside a wrapper function that returns the wrong shape/usage for the action creator, leading Redux/RTK internals to call prepareAction as if it were properly created. This indicates a mismatch between expected action creator signature and how the wrapper is defined.