From 14ef415334354bd61475ead9469b8579dde8bf6c Mon Sep 17 00:00:00 2001 From: trott Date: Thu, 9 Jul 2020 17:50:23 +0500 Subject: [PATCH] fix: weird spacing issue in quick add icon --- src/shared/components/navbar/Navbar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shared/components/navbar/Navbar.tsx b/src/shared/components/navbar/Navbar.tsx index 5f2ddd6f7b..fa534d0320 100644 --- a/src/shared/components/navbar/Navbar.tsx +++ b/src/shared/components/navbar/Navbar.tsx @@ -19,7 +19,6 @@ const Navbar = () => { } const dividerAboveLabels = [ - 'patients.newPatient', 'scheduling.appointments.new', 'labs.requests.new', 'incidents.reports.new', @@ -35,7 +34,7 @@ const Navbar = () => { onClick: () => { navigateTo(page.path) }, - dividerAbove: dividerAboveLabels.indexOf(page.label) > -1, + dividerAbove: dividerAboveLabels.includes(page.label), })) }