export const type = 'UPDATE_TIME';

export function reduce(state, action) {
  console.log( 'updateTime' );
  return state;
};

export function toUpdateTime() {
  return { direction };
};

export const type = 'UPDATE_TIME';

export function reduce(state, action) {
  console.log( 'updateTime' );
  return state;
};

export function toUpdateTime() {
  return { type, direction };
};

Add type to toUpdateTime action creator
Add type to toUpdateTime action creator
