import "core-js/modules/es.array.iterator.js";
import "core-js/modules/web.dom-collections.iterator.js";
import { useState } from 'react';
import { createContainer } from 'unstated-next';
function useMenuCounter() {
  const [flatMenuKeys, setFlatMenuKeys] = useState([]);
  return {
    flatMenuKeys,
    setFlatMenuKeys
  };
}
const MenuCounter = createContainer(useMenuCounter);
export default MenuCounter;