diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 7f3341e1c..babf8c6e3 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -22,11 +22,13 @@ const versionNavbarItems = [ })), ]; -const versionDropDownLabel = isDevelopmentVersion - ? versionNavbarItems[0].label - : versionNavbarItems.find((item) => { - return item.label === gitBranch.replace("-branch", ""); - }); +const versionDropDownLabel = ( + isDevelopmentVersion + ? versionNavbarItems[0] + : versionNavbarItems.find((item) => { + return item.label === gitBranch.replace("-branch", ""); + }) +).label; module.exports = { title: "ZMK Firmware",