diff --git a/frontend/common/stores/feature-list-store.ts b/frontend/common/stores/feature-list-store.ts index 48a124d61b43..d5af79399e01 100644 --- a/frontend/common/stores/feature-list-store.ts +++ b/frontend/common/stores/feature-list-store.ts @@ -473,17 +473,16 @@ const controller = { API.trackEvent(Constants.events.EDIT_FEATURE) const env: Environment = ProjectStore.getEnvironment(environmentId) as any // Detect differences between change request and existing feature states - const res: { data: PagedResponse } = - await getFeatureStates( - getStore(), - { - environment: environmentFlag.environment, - feature: projectFlag.id, - }, - { - forceRefetch: true, - }, - ) + const res: { data: PagedResponse } = await getFeatureStates( + getStore(), + { + environment: environmentFlag.environment, + feature: projectFlag.id, + }, + { + forceRefetch: true, + }, + ) const segmentResult = await getSegments(getStore(), { include_feature_specific: true, page_size: 1000, diff --git a/frontend/common/types/responses.ts b/frontend/common/types/responses.ts index 9f2614b1239a..bd89a6b5dc7f 100644 --- a/frontend/common/types/responses.ts +++ b/frontend/common/types/responses.ts @@ -761,7 +761,7 @@ export type Res = { samlAttributeMapping: PagedResponse featureAnalytics: { day: string - [environmentId: string]: string | number | undefined // Dynamic properties for environment IDs + [environmentId: string]: string | number }[] // END OF TYPES }