Skip to content

Commit 0c733bd

Browse files
committed
fonction name change
1 parent 77bb21b commit 0c733bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/api-doc/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem';
1111
function ApiDoc() {
1212
useEffect(() => {
1313
const linkTag = ['link[rel="alternate"]'];
14-
function addRoleAndTabIndexAttributes() {
14+
function removeLinkAttributes() {
1515
linkTag.forEach(link => {
1616
let alternateLinks = document.querySelectorAll(link);
1717
console.log("in loop", alternateLinks)
@@ -22,7 +22,7 @@ function ApiDoc() {
2222

2323
})
2424
}
25-
addEventListener('load', addRoleAndTabIndexAttributes);
25+
addEventListener('load', removeLinkAttributes);
2626
}, []);
2727
return (
2828
<Layout title="LambdaTest API Documentation"

0 commit comments

Comments
 (0)