fix: typo in filteredToc
This commit is contained in:
parent
d45233e43a
commit
08fb1d4690
@ -34,7 +34,7 @@ const TOCInline = ({
|
||||
|
||||
const filteredToc = toc.filter(
|
||||
(heading) =>
|
||||
heading.depth >= fromHeading && heading.depth <= toHeading ** !re.test(heading.value)
|
||||
heading.depth >= fromHeading && heading.depth <= toHeading && !re.test(heading.value)
|
||||
)
|
||||
|
||||
const tocList = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user