Skip to content

Commit

Permalink
Highlight subheadings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlkiri committed Mar 10, 2020
1 parent 3cf10d2 commit 5f051fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/components/docs-table-of-contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import { useEffect, useState } from "react"
import { useActiveHash } from "../hooks/use-active-hash"

const getHeadingIds = (toc, traverseFullDepth = false) => {
const getHeadingIds = (toc, traverseFullDepth = true) => {
const idList = []
const hashToId = str => str.slice(1)

Expand Down

0 comments on commit 5f051fd

Please sign in to comment.