Fix Gas nav link to use hash instead of path. Page no longer reloads upon clicking Gas link
This commit is contained in:
@@ -2,7 +2,7 @@ import { HStack, Link } from "@chakra-ui/react"
|
|||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ label: "My Dashboard", href: "#dashboard" },
|
{ label: "My Dashboard", href: "#dashboard" },
|
||||||
{ label: "Gas", href: "gas" },
|
{ label: "Gas", href: "#gas" },
|
||||||
{ label: "Seismic", href: "#seismic" },
|
{ label: "Seismic", href: "#seismic" },
|
||||||
{ label: "Remote Sensing", href: "#remote" },
|
{ label: "Remote Sensing", href: "#remote" },
|
||||||
{ label: "Daily Activity", href: "#daily" },
|
{ label: "Daily Activity", href: "#daily" },
|
||||||
|
|||||||
Reference in New Issue
Block a user