Skip to content

Commit

Permalink
Fix class name attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson committed Jun 21, 2024
1 parent 5bcf88c commit 24e63c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/src/theme/DocSidebarItem/Category/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default function DocSidebarItemCategory({
<div style={{ flex: "1" }}>{label}</div>
<div>
{item.customProps?.module ? (
<span class="badge lab">LAB</span>
<span className="badge lab">LAB</span>
) : (
<span></span>
)}
Expand Down
4 changes: 2 additions & 2 deletions website/src/theme/DocSidebarItem/Link/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ export default function DocSidebarItemLink({
<div style={{ flex: "1" }}>{label}</div>
<div>
{item.customProps?.module ? (
<span class="badge lab">LAB</span>
<span className="badge lab">LAB</span>
) : (
<span></span>
)}
{item.customProps?.info ? (
<span class="badge info">INFO</span>
<span className="badge info">INFO</span>
) : (
<span></span>
)}
Expand Down

0 comments on commit 24e63c2

Please sign in to comment.