From 9904f47c82b34eba8babc73cd56175f5d32cead3 Mon Sep 17 00:00:00 2001
From: Valentine Omonya <147273781+devalentineomonya@users.noreply.github.com>
Date: Sat, 16 Mar 2024 01:19:46 +0300
Subject: [PATCH] Update Call Scroll function twice

---
 src/components/NavBar/Navbar.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/components/NavBar/Navbar.jsx b/src/components/NavBar/Navbar.jsx
index c97e466..d2febb7 100644
--- a/src/components/NavBar/Navbar.jsx
+++ b/src/components/NavBar/Navbar.jsx
@@ -29,6 +29,7 @@ const Navbar = ({ activeTab, setActiveTab }) => {
     event.preventDefault();
     setActiveTab(tabName);
     scrollToSection(tabName);
+     scrollToSection(tabName);
   };
 
   return (