From c6062019c5257540f6b3cc422444fc5dc213dd16 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Wed, 29 Apr 2020 18:01:00 -0400 Subject: [PATCH] Removed outdated config method from primary and secondary header --- js/src/admin/components/HeaderPrimary.tsx | 7 ------- js/src/admin/components/HeaderSecondary.tsx | 7 ------- 2 files changed, 14 deletions(-) diff --git a/js/src/admin/components/HeaderPrimary.tsx b/js/src/admin/components/HeaderPrimary.tsx index 060672697..41a23cb5c 100644 --- a/js/src/admin/components/HeaderPrimary.tsx +++ b/js/src/admin/components/HeaderPrimary.tsx @@ -11,13 +11,6 @@ export default class HeaderPrimary extends Component { return ; } - config(isInitialized, context) { - // Since this component is 'above' the content of the page (that is, it is a - // part of the global UI that persists between routes), we will flag the DOM - // to be retained across route changes. - context.retain = true; - } - /** * Build an item list for the controls. * diff --git a/js/src/admin/components/HeaderSecondary.tsx b/js/src/admin/components/HeaderSecondary.tsx index 514731a1a..39dfe8af4 100644 --- a/js/src/admin/components/HeaderSecondary.tsx +++ b/js/src/admin/components/HeaderSecondary.tsx @@ -11,13 +11,6 @@ export default class HeaderSecondary extends Component { return ; } - config(isInitialized, context) { - // Since this component is 'above' the content of the page (that is, it is a - // part of the global UI that persists between routes), we will flag the DOM - // to be retained across route changes. - context.retain = true; - } - /** * Build an item list for the controls. *