Skip to content

Commit

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

beta: {
create: {
startInCreateEnabled: true,
// defaults to 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: false}),
startInCreateEnabled: startInCreateEnabledReducer({config, initialValue: true}),
fallbackStudioOrigin: createFallbackOriginReducer(config),
},
},
Expand Down

0 comments on commit 723f7fe

Please sign in to comment.