Skip to content

Commit

Permalink
Fix: Javascript API page did not show grpc module
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Nov 15, 2020
1 parent b548a5c commit 6dfb684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/docs/javascript-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getContent = (nodes, sidebarTree) =>
frontmatter: { title },
body,
} = entity;
if (title.replace('/', '-') in sidebarTree.children) {
if (title.replace(/\//g, '-') in sidebarTree.children) {
return (
<div key={id} className={jsApiStyles.moduleWrapper}>
<h2>{title}</h2>
Expand Down

0 comments on commit 6dfb684

Please sign in to comment.