mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
fix(website): fix APITable anchor link (#5947)
This commit is contained in:
parent
c5feac6ba2
commit
1816f135f2
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ const APITableRow = forwardRef(
|
|||
const history = useHistory();
|
||||
return (
|
||||
<tr
|
||||
id={entryName}
|
||||
id={anchor}
|
||||
tabIndex={0}
|
||||
ref={history.location.hash === anchor ? ref : undefined}
|
||||
onClick={() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue