We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77bb21b commit 0c733bdCopy full SHA for 0c733bd
src/pages/api-doc/index.jsx
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem';
11
function ApiDoc() {
12
useEffect(() => {
13
const linkTag = ['link[rel="alternate"]'];
14
- function addRoleAndTabIndexAttributes() {
+ function removeLinkAttributes() {
15
linkTag.forEach(link => {
16
let alternateLinks = document.querySelectorAll(link);
17
console.log("in loop", alternateLinks)
@@ -22,7 +22,7 @@ function ApiDoc() {
22
23
})
24
}
25
- addEventListener('load', addRoleAndTabIndexAttributes);
+ addEventListener('load', removeLinkAttributes);
26
}, []);
27
return (
28
<Layout title="LambdaTest API Documentation"
0 commit comments