From 28bdd173d3286369fd4d29d1bd913ef91815afe4 Mon Sep 17 00:00:00 2001 From: mbaharip <62494292+mbahArip@users.noreply.github.com> Date: Fri, 31 Jan 2025 06:09:54 +0700 Subject: [PATCH] fix: return 0 instead of empty when `showGuideButton` is hidden --- src/components/layout/Navbar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout/Navbar.tsx b/src/components/layout/Navbar.tsx index 0fc8171..7a3681b 100644 --- a/src/components/layout/Navbar.tsx +++ b/src/components/layout/Navbar.tsx @@ -256,7 +256,7 @@ export default function Navbar() { className='mx-2 my-auto h-6' /> - {config.showGuideButton && ( + {!!config.showGuideButton && (