how to dispatch api usedispatch code example Example: useDispatch() useDispatch({ type: '', playload });