Capital/sanity/lib/client.ts

11 lines
200 B
TypeScript
Raw Normal View History

2024-02-24 13:56:35 +00:00
import { createClient } from "next-sanity";
import { apiVersion, dataset, projectId, useCdn } from "../env";
export const client = createClient({
apiVersion,
dataset,
projectId,
useCdn,
});