Skip to content

armgit / crm

Public Imported from GitHub
0

Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.

TypeScript
370 B
Raw Blame
import "server-only";
import { dehydrate, HydrationBoundary } from "@tanstack/react-query";
import type { ReactNode } from "react";
import { getServerQueryClient } from "./server";

export function HydrateClient({ children }: { children: ReactNode }) {
	return (
		<HydrationBoundary state={dehydrate(getServerQueryClient())}>
			{children}
		</HydrationBoundary>
	);
}