Skip to content

Commit

Permalink
fix title on dataset api page (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
janette authored Oct 27, 2020
1 parent fb2ca55 commit 82fd842
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/templates/dataset/api.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -73,15 +72,15 @@ const ApiDocsSpecific = ({ id, location }) => {
</div>
</div>
<div className="results-list col-md-9 col-sm-12">
<Title title={item.title} />
<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>
Expand Down

0 comments on commit 82fd842

Please sign in to comment.