From e515f9e5020caf94936612e147f7caa92a98fa9a Mon Sep 17 00:00:00 2001 From: Snorre Eskeland Brekke Date: Tue, 26 Nov 2024 16:20:57 +0100 Subject: [PATCH] Revert "feat: Start in Create button is now enabled by default (#7884)" This reverts commit 3057e2b540c45eb76097dbca56ea5cceee9c4041. --- dev/test-create-integration-studio/sanity.config.ts | 3 +-- packages/sanity/src/core/config/prepareConfig.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dev/test-create-integration-studio/sanity.config.ts b/dev/test-create-integration-studio/sanity.config.ts index c63985d74eb..146861de727 100644 --- a/dev/test-create-integration-studio/sanity.config.ts +++ b/dev/test-create-integration-studio/sanity.config.ts @@ -15,8 +15,7 @@ export default defineConfig({ beta: { create: { - // defaults to true - //startInCreateEnabled: true, + startInCreateEnabled: true, fallbackStudioOrigin: 'create-integration-test.sanity.studio', }, }, diff --git a/packages/sanity/src/core/config/prepareConfig.ts b/packages/sanity/src/core/config/prepareConfig.ts index a24529afbca..7b771f7596c 100644 --- a/packages/sanity/src/core/config/prepareConfig.ts +++ b/packages/sanity/src/core/config/prepareConfig.ts @@ -660,7 +660,7 @@ function resolveSource({ enabled: false, }, create: { - startInCreateEnabled: startInCreateEnabledReducer({config, initialValue: true}), + startInCreateEnabled: startInCreateEnabledReducer({config, initialValue: false}), fallbackStudioOrigin: createFallbackOriginReducer(config), }, },