From 82fd8426e2050ef85dcc0c299330bb1387ff94b8 Mon Sep 17 00:00:00 2001 From: Janette Day Date: Tue, 27 Oct 2020 16:51:00 -0500 Subject: [PATCH] fix title on dataset api page (#43) --- src/templates/dataset/api.jsx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/templates/dataset/api.jsx b/src/templates/dataset/api.jsx index 73b46cf..7078a04 100644 --- a/src/templates/dataset/api.jsx +++ b/src/templates/dataset/api.jsx @@ -4,7 +4,6 @@ import Loader from "react-loader-advanced"; import LoadingSpin from "react-loading-spin"; import { ApiDocs, - Title, Organization } from "@civicactions/data-catalog-components"; import config from "../../assets/config"; @@ -73,15 +72,15 @@ const ApiDocsSpecific = ({ id, location }) => {
- - <ApiDocs - endpoint={ - `${process.env.REACT_APP_ROOT_URL}` + - "/metastore/schemas/dataset/items/" + - id + - "/docs" - } - /> + <h1>{item.title}</h1> + <ApiDocs + endpoint={ + `${process.env.REACT_APP_ROOT_URL}` + + "/metastore/schemas/dataset/items/" + + id + + "/docs" + } + /> </div> </div>