1. Fixed docs navigation (#119)

2. Removed rule "@typescript-eslint/ prefer-nullish-coalescing", it's a source of bugs
This commit is contained in:
Giancarlo Buomprisco
2025-01-28 17:19:19 +07:00
committed by GitHub
parent 1ef522d373
commit 31a35319fd
3 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ function Node({
prefix: string;
}) {
const url = `${prefix}/${node.slug}`;
const label = node.label ?? node.title;
const label = node.label ? node.label : node.title;
const Container = (props: React.PropsWithChildren) => {
if (node.collapsible) {