Thunk Sintaxe

 const thunkFunction = (element) => {
  return (dispatch, getState) => {
  //rules of the function
  }}
Defeated Dogfish