mirror of
https://github.com/xHyroM/website.git
synced 2024-11-10 01:38:05 +01:00
fix: ul can only contains li, script or template
This commit is contained in:
parent
fe14f0fb3d
commit
901dd16f6d
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ const getLinkClasses = (link: Sidebar) => {
|
|||
{
|
||||
docs.sidebar.map((item) =>
|
||||
item.header ? (
|
||||
<h2 class="mt-4 font-semibold text-white">{item.text}</h2>
|
||||
<li class="mt-4 font-semibold text-white">{item.text}</li>
|
||||
) : (
|
||||
<li class={getLinkClasses(item)}>
|
||||
<a href={item.link}>{item.text}</a>
|
||||
|
|
Loading…
Reference in a new issue