From 661fedae39d0798cc637969299f2bf6148217bac Mon Sep 17 00:00:00 2001 From: Domingo Dirutigliano Date: Sun, 1 Oct 2023 02:09:07 +0200 Subject: [PATCH] refactor: reordered option --- frontend/src/components/NavBar/index.tsx | 2 +- frontend/src/js/utils.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }