1
0
Fork 0

fix(fs.dev): Some linter warnings

This commit is contained in:
Joost De Cock 2021-12-31 13:52:27 +01:00
parent eeacb8669d
commit d6c37e7a3e
3 changed files with 5 additions and 5 deletions

View file

@ -112,7 +112,7 @@ const SubLevel = ({ nodes={}, active }) => (
</details>
</li>
) : (
<li className='pl-2 flex flex-row items-center'>
<li className='pl-2 flex flex-row items-center' key={child.__slug}>
<Link href={`/${child.__slug}`} title={child.__title}>
<a className={`
pl-2 border-l-2
@ -172,10 +172,10 @@ const Navigation = ({ app, active }) => {
if (!app.navigation) return null
const output = []
for (const key of Object.keys(app.navigation).sort()) output.push(<TopLevel
key={key}
icon={icons[key] || <span className="text-3xl mr-2 translate-y-3 inline-block p-0 leading-3">&deg;</span>}
title={key}
slug={key}
key={key}
hasChildren={keepClosed.indexOf(key) === -1}
nav={app.navigation}
current={order(app.navigation[key])}