From 8670dc9231468c7d2110ada24b12fb69a74fd1c2 Mon Sep 17 00:00:00 2001 From: Cody Olsen <81981+stipsan@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:48:13 +0200 Subject: [PATCH] fix: should be previewMode, not draftMode --- sanity.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanity.config.ts b/sanity.config.ts index a324312e..54c0f0fb 100644 --- a/sanity.config.ts +++ b/sanity.config.ts @@ -42,7 +42,7 @@ export default defineConfig({ presentationTool({ locate, previewUrl: { - draftMode: { + previewMode: { enable: DRAFT_MODE_ROUTE, }, },