diff --git a/src/components/TOCList/index.tsx b/src/components/TOCList/index.tsx index 7ced2e47..9eb82d58 100644 --- a/src/components/TOCList/index.tsx +++ b/src/components/TOCList/index.tsx @@ -90,7 +90,9 @@ const TOCList = ({ items, overrideClickEvt, prependRoute }: ITOCList) => { } return ( - {renderList()} +
+ {renderList()} +
); } diff --git a/src/pages/constitution/ConstitutionTOC.tsx b/src/pages/constitution/ConstitutionTOC.tsx index 4076d65e..fac66c72 100644 --- a/src/pages/constitution/ConstitutionTOC.tsx +++ b/src/pages/constitution/ConstitutionTOC.tsx @@ -4,8 +4,6 @@ import { IonTitle, IonContent, IonList, - IonListHeader, - IonLabel, IonPage, IonIcon, IonButton, @@ -55,13 +53,6 @@ const ConstitutionTOC = () => { actionText={t('read_full_constitution_label','Read the Full Constitution')} /> - - {t('toc_title',{ - defaultValue: 'Table of Contents', - ns: 'global' - })} - -

{ {this.state.constitution ? - this.scroll(data)} - /> - : null} + this.scroll(data)} + /> + : null} diff --git a/src/pages/rules/RulesTOC.tsx b/src/pages/rules/RulesTOC.tsx index 1f88fea8..3dab8792 100644 --- a/src/pages/rules/RulesTOC.tsx +++ b/src/pages/rules/RulesTOC.tsx @@ -2,8 +2,6 @@ import React from 'react'; import { IonContent, IonList, - IonListHeader, - IonLabel, IonPage, IonButton, IonIcon, IonHeader, IonToolbar, IonButtons, IonTitle @@ -54,17 +52,6 @@ const RulesTOC = () => { /> - - - { t('toc_title', { - ns: 'global', - defaultValue: 'Table of Contents' - }) } - - -
-
-