From 67ec4a3f2c0f143b6257c064ed4a18c285028dde Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 14 Jul 2022 14:05:01 -0600 Subject: [PATCH] Update docs/guides/data-loading.md --- docs/guides/data-loading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/data-loading.md b/docs/guides/data-loading.md index 76e30c2f520..d21397a4d54 100644 --- a/docs/guides/data-loading.md +++ b/docs/guides/data-loading.md @@ -235,7 +235,7 @@ If you picked Cloudflare Pages as your environment, [Cloudflare Key Value][cloud "dev:wrangler": "cross-env NODE_ENV=development wrangler pages dev ./public --kv PRODUCTS_KV" ``` -This enable you to use the `PRODUCTS_KV` in a loader context: +This enables you to use the `PRODUCTS_KV` in a loader context (KV stores are added to loader context automatically by the Cloudflare Pages adapter): ```tsx import type { LoaderFunction } from "@remix-run/cloudflare"; // or "@remix-run/node" import { json } from "@remix-run/cloudflare"; // or "@remix-run/node"