Stop passing around admin/token info in studio comment component.
Instead of getting data out of redux just to pass it back to a dispatch, use getState in the thunk to get the data we need. This allows the component to not care about admin/token info, since it is not related to rendering.
Showing
Please register or sign in to comment