From e90d8abfe04083de4bef56c67b50bc4227cb6bc4 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Wed, 6 Feb 2019 17:43:01 +0000 Subject: [PATCH] fix titling tags/categories --- src/components/CategoriesListPanel.jsx | 3 +-- src/components/TagListPanel.jsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/CategoriesListPanel.jsx b/src/components/CategoriesListPanel.jsx index 64f88e6..a295aa0 100644 --- a/src/components/CategoriesListPanel.jsx +++ b/src/components/CategoriesListPanel.jsx @@ -11,7 +11,6 @@ export default (props) => { function renderCategoryTree () { return (
-

{copy[props.language].toolbar.categories}

{props.categories.map(cat => { return (
  • { return (
    -

    {copy[props.language].toolbar.explore_by_category__title}

    +

    {copy[props.language].toolbar.categories}

    {copy[props.language].toolbar.explore_by_category__description}

    {renderCategoryTree()}
    diff --git a/src/components/TagListPanel.jsx b/src/components/TagListPanel.jsx index 1d88b73..72582ae 100644 --- a/src/components/TagListPanel.jsx +++ b/src/components/TagListPanel.jsx @@ -63,7 +63,6 @@ class TagListPanel extends React.Component { renderTree () { return (
    -

    {copy[this.props.language].toolbar.tags}

    {this.state.treeComponents.map(c => c)}
    ) @@ -72,7 +71,7 @@ class TagListPanel extends React.Component { render () { return (
    -

    {copy[this.props.language].toolbar.explore_by_tag__title}

    +

    {copy[this.props.language].toolbar.tags}

    {copy[this.props.language].toolbar.explore_by_tag__description}

    {this.renderTree()}