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 330c407 commit 1240a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ function setFixed(){
window.addEventListener("scroll", setFixed)

return (

//scrolltotop is for scroll to top widget
//Then the navbar code begins
<main>
<ScrollToTop color="white" style={{ backgroundColor: "#5CB6F9" }} />
<nav className={`navbar ${fix ? 'fixed' : ''}`}>
Expand Down

0 comments on commit 1240a37

Please sign in to comment.