Explorar el Código

fix navigation bar has wrong infomation

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang hace 1 año
padre
commit
a8bcbb835e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client/src/hooks/Navigation.tsx

+ 1 - 1
client/src/hooks/Navigation.tsx

@@ -25,7 +25,7 @@ export const useNavigationHook = (
 
   useEffect(() => {
     switch (type) {
-      case ALL_ROUTER_TYPES.OVERVIEW: {
+      case ALL_ROUTER_TYPES.HOME: {
         const navInfo: NavInfo = {
           navTitle: navTrans('welcome'),
           backPath: '',