diff --git a/frontend/src/components/NavBar/index.tsx b/frontend/src/components/NavBar/index.tsx index e322621..1d6d859 100644 --- a/frontend/src/components/NavBar/index.tsx +++ b/frontend/src/components/NavBar/index.tsx @@ -47,8 +47,8 @@ export default function NavBar({ closeNav, opened }: {closeNav: () => void, open - } /> } /> + } /> } /> : } onClick={()=>setToggleState(!toggle)}/> diff --git a/frontend/src/js/utils.tsx b/frontend/src/js/utils.tsx index 3735a25..488876e 100644 --- a/frontend/src/js/utils.tsx +++ b/frontend/src/js/utils.tsx @@ -118,7 +118,7 @@ export function getapiobject(){ export function HomeRedirector(){ const section = sessionStorage.getItem("home_section") - const path = section?`/${section}`:`/firewall` + const path = section?`/${section}`:`/nfregex` return }