diff --git a/src/pages/docs/openapi.js b/src/pages/docs/openapi.js index 8e1a83b28..81f76d570 100644 --- a/src/pages/docs/openapi.js +++ b/src/pages/docs/openapi.js @@ -1,7 +1,7 @@ import React, { useEffect, useRef } from 'react'; import DocsHeader from 'components/SitewideHeader/DocsHeader'; -const ApiDocsPage = () => { +const ApiDocsPage = ({ location }) => { const swaggerRef = useRef(null); useEffect(() => {