Skip to content

Commit

Permalink
Update Dashboard.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sau-mili committed May 27, 2024
1 parent a9845a8 commit 330c407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Dashboard = () => {
};

const [fix, setFix]= useState(false)

//function for appearance of background for nav menu
function setFixed(){
if(window.scrollY>0){
setFix(true)
Expand Down Expand Up @@ -102,7 +102,7 @@ window.addEventListener("scroll", setFixed)
<a href="#">Career Support</a>
</li>
<li className="dot">
<a href="#"></a>
<a href="#"/>
</li>
<li>
<a href="#" onClick={handleSignOut}>
Expand Down

0 comments on commit 330c407

Please sign in to comment.