From 0b682f91fb1abfeab04d8f46f2a2ef17f4e05ece Mon Sep 17 00:00:00 2001 From: sau-mili <146661411+sau-mili@users.noreply.github.com> Date: Sat, 25 May 2024 16:20:35 +0530 Subject: [PATCH] Documentation added --- src/components/Dashboard/Dashboard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dashboard/Dashboard.jsx b/src/components/Dashboard/Dashboard.jsx index 36c75ba8..c462da16 100644 --- a/src/components/Dashboard/Dashboard.jsx +++ b/src/components/Dashboard/Dashboard.jsx @@ -68,7 +68,7 @@ const Dashboard = () => { }; //navbar scroll effects const [fix, setFix]= useState(false) - +//function for navbar change fixed function setFixed(){ if(window.scrollY>0){ setFix(true)