text: /* eslint no-plusplus: 0 */
  /* eslint comma-dangle: 0 */
  /* eslint class-methods-use-this: 0 */
  /* eslint consistent-return: 0 */
  /* eslint array-callback-return: 0 */
  
  import dom from './dom';
  
  export default {
    hideModal(id) {
      const modalContainer = document.getElementById(id);
  
      dom.addClass(modalContainer, 'out');
      dom.removeClass(document.body, 'modal-active');
    },
  
    showModal(id) {
      const modalContainer = document.getElementById(id);
  
      dom.removeClass(modalContainer, 'out');
      dom.removeClass(modalContainer, 'meep');
      dom.addClass(modalContainer, 'meep');
      dom.addClass(document.body, 'modal-active');
    }
  };
  