diff --git a/src/templates/Swagger/index.jsx b/src/templates/Swagger/index.jsx index 75e50327..c9f2126f 100644 --- a/src/templates/Swagger/index.jsx +++ b/src/templates/Swagger/index.jsx @@ -69,7 +69,7 @@ export default class ApiSwaggerTemplate extends Component { render() { const { location, pageContext } = this.props - const { api, name } = pageContext + const { api } = pageContext const { host, basePath, info, paths } = api const { title, description, version, license, contact } = info @@ -108,11 +108,6 @@ export default class ApiSwaggerTemplate extends Component { prepend={ v{version} - - past versions - } />