Skip to content

Commit

Permalink
fix(website): fix APITable anchor link (#5947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Nov 14, 2021
1 parent c5feac6 commit 1816f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/APITable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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={() => {
Expand Down

0 comments on commit 1816f13

Please sign in to comment.