"use client";
import { useMap } from "@react-hookz/web";
import { useRefWithInit } from "./useRefWithInit.js";
function useMapWithInit(initFn) {
  const initialValue = useRefWithInit(initFn).current;
  return useMap(initialValue);
}
export {
  useMapWithInit
};
