mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +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();
|
const history = useHistory();
|
||||||
return (
|
return (
|
||||||
<tr
|
<tr
|
||||||
id={entryName}
|
id={anchor}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
ref={history.location.hash === anchor ? ref : undefined}
|
ref={history.location.hash === anchor ? ref : undefined}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue