diff --git a/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx b/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx index 5b1c910b5..ba52420d0 100644 --- a/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx +++ b/public/pages/ChangePolicy/containers/ChangePolicy/ChangePolicy.tsx @@ -40,7 +40,7 @@ export enum Radio { export class ChangePolicy extends Component { static contextType = CoreServicesContext; - state: ChangePolicyState = { + static emptyState = { selectedPolicies: [], selectedManagedIndices: [], selectedStateFilters: [], @@ -50,6 +50,7 @@ export class ChangePolicy extends Component { this.context.chrome.setBreadcrumbs([BREADCRUMBS.INDEX_MANAGEMENT, BREADCRUMBS.MANAGED_INDICES, BREADCRUMBS.CHANGE_POLICY]); @@ -59,14 +60,7 @@ export class ChangePolicy extends Component