mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Added id to feedback button, and removed empty class names from inactive tab links
This commit is contained in:
parent
9e6c7852fb
commit
35637615d6
2 changed files with 4 additions and 2 deletions
|
@ -47,7 +47,8 @@ export default function Layout (props) {
|
|||
<Link href={item.href} key={key} >
|
||||
<a
|
||||
onClick={closeSideBar}
|
||||
className={href.includes(key) ? 'active' : ''}
|
||||
className={href.includes(key) ? 'active' : undefined}
|
||||
id={item.id || undefined}
|
||||
>{item.text}</a>
|
||||
</Link>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue