uikit/dist/query.js
Mohamadzadeh 43b4a2a42b
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Has been skipped
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Has been skipped
refactor new BiProvider | v1.2.1
2026-10-26 13:58:14 +03:30

16 lines
541 B
JavaScript

"use client";
import { jsx as i } from "react/jsx-runtime";
import { useState as n } from "react";
import { QueryClient as u, QueryClientProvider as f } from "@tanstack/react-query";
import { d as s } from "./chunks/feature-registry-B2iuEiEx.js";
function l({ children: e, client: r, defaultOptions: t }) {
const [o] = n(() => new u({
defaultOptions: t ?? { queries: { retry: 1, refetchOnWindowFocus: !1 } }
}));
return /* @__PURE__ */ i(f, { client: r ?? o, children: e });
}
const p = s("Query", 20, l);
export {
p as Query
};