Skip to content

Commit

Permalink
Revert "feat: Start in Create button is now enabled by default (#7884)"
Browse files Browse the repository at this point in the history
This reverts commit 3057e2b.
  • Loading branch information
snorrees authored and RitaDias committed Nov 28, 2024
1 parent 723f7fe commit e515f9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dev/test-create-integration-studio/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default defineConfig({

beta: {
create: {
// defaults to true
//startInCreateEnabled: true,
startInCreateEnabled: true,
fallbackStudioOrigin: 'create-integration-test.sanity.studio',
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity/src/core/config/prepareConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ function resolveSource({
enabled: false,
},
create: {
startInCreateEnabled: startInCreateEnabledReducer({config, initialValue: true}),
startInCreateEnabled: startInCreateEnabledReducer({config, initialValue: false}),
fallbackStudioOrigin: createFallbackOriginReducer(config),
},
},
Expand Down

0 comments on commit e515f9e

Please sign in to comment.