// src/components/Auth/useApiConfig.ts
import { useMemo } from "react";
function useApiConfig(api) {
  return useMemo(
    () => ({
      get: (endpoint, config) => api.get(endpoint, config)
    }),
    [api]
  );
}
export {
  useApiConfig
};
//# sourceMappingURL=index.mjs.map