Javascript – How to call a function that is defined in a component from another slice file in redux?
I have a slice file that includes an async thunk function that returns an array based on API response. Some of this array elements are some i tags that trigger some functions to do something inside another component that is…