From c54d24829615fcd1b4cf4b5622ff238feebee743 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 24 Jun 2023 13:00:47 +0800 Subject: [PATCH] topNav empty --- themes/gitbook/components/TopNavBar.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/themes/gitbook/components/TopNavBar.js b/themes/gitbook/components/TopNavBar.js index c683e880..9c4d01f2 100644 --- a/themes/gitbook/components/TopNavBar.js +++ b/themes/gitbook/components/TopNavBar.js @@ -38,10 +38,6 @@ export default function TopNavBar(props) { links = customMenu } - if (!links || links.length === 0) { - return null - } - return (