I already have the processing functions, but when using the onImageUploadBefore function, I don't know how to do it when the data returned by the server is not directly in the same processing function as when uploading the image but must go through the store and call using useSelector
I already have the processing functions, but when using the onImageUploadBefore function, I don't know how to do it when the data returned by the server is not directly in the same processing function as when uploading the image but must go through the store and call using useSelector
Version
NextJS: 14.0.2 React: ^18 Redux-Saga: 1.2.3
Below is my code