diff --git a/packages/sanity/src/core/releases/store/createReleaseStore.ts b/packages/sanity/src/core/releases/store/createReleaseStore.ts index 66f1f34f34f..66a77e4e69b 100644 --- a/packages/sanity/src/core/releases/store/createReleaseStore.ts +++ b/packages/sanity/src/core/releases/store/createReleaseStore.ts @@ -47,7 +47,6 @@ const QUERY = `*[${QUERY_FILTER}] ${QUERY_PROJECTION} | ${QUERY_SORT_ORDER}` const INITIAL_STATE: ReleasesReducerState = { releases: new Map(), state: 'initialising' as const, - releaseStack: [], } const RELEASE_METADATA_TMP_DOC_PATH = 'system-tmp-releases' diff --git a/packages/sanity/src/core/releases/store/reducer.ts b/packages/sanity/src/core/releases/store/reducer.ts index 6684cae628c..2590dc7bf39 100644 --- a/packages/sanity/src/core/releases/store/reducer.ts +++ b/packages/sanity/src/core/releases/store/reducer.ts @@ -41,12 +41,6 @@ export interface ReleasesReducerState { releases: Map state: 'initialising' | 'loading' | 'loaded' | 'error' error?: Error - - /** - * An array of release ids ordered chronologically to represent the state of documents at the - * given point in time. - */ - releaseStack: string[] } function createReleasesSet(releases: ReleaseDocument[] | null) {