mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-13 20:23:47 +00:00
* fix(frontend): resolve layout flickering by migrating workspace sidebar state to cookie * fix(frontend): unify local settings runtime state to fix state drift * fix(frontend): only persist thread model on explicit context model updates
21 lines
390 B
TypeScript
21 lines
390 B
TypeScript
"use client";
|
|
|
|
import {
|
|
QueryClient,
|
|
QueryClientProvider as TanStackQueryClientProvider,
|
|
} from "@tanstack/react-query";
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
export function QueryClientProvider({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<TanStackQueryClientProvider client={queryClient}>
|
|
{children}
|
|
</TanStackQueryClientProvider>
|
|
);
|
|
}
|