// FYI : This reducer isn't used anymore unless
// you need to force close a modal.
// go to : hooks/useModal.js for the new usage.

const closeModals = (state) => {
  return {
    ...state,
    modal: null,
  };
};

export default closeModals;
