Skip to content

Commit

Permalink
fix: remove `process.env.SANITY_STUDIO_PRESENTATION_ENABLE_LIVE_DRAFT…
Browse files Browse the repository at this point in the history
…_EVENTS` (#8401)
  • Loading branch information
stipsan authored Jan 28, 2025
1 parent abb0b2e commit 68b7fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sanity/src/presentation/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ declare global {
export const LIVE_DRAFT_EVENTS_ENABLED =
typeof PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS === 'string'
? PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS === 'true'
: process.env.SANITY_STUDIO_PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS === 'true'
: false
3 changes: 1 addition & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"EXTRACT_SANITY_PROJECT_ID",
"EXTRACT_SANITY_DATASET",
"EXTRACT_SANITY_API_TOKEN",
"PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS",
"SANITY_STUDIO_PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS"
"PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS"
],
// Variables that should be passed through but not invalidate the cache
"globalPassThroughEnv": [
Expand Down

0 comments on commit 68b7fa3

Please sign in to comment.