Update initialState with dispatch in Redux

How can I store a value in job_id in that initialState using Dispatch(), is Redux-Toolkit?
Thanks in advance!

I been trying with

  dispatch( applicantsSlice.initialState.applicantDetails.job_id = 777 )

But doesnt’work

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.