Skip to content

Commit

Permalink
fix: link dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwardb11 committed Oct 4, 2022
1 parent 2579c74 commit eda0afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const useNavigation = (user) => {
} else if (rol[0].id_roles === 1) {
return setNavigation([
{ name: "Inicio", href: "/admin", current: true },
{ name: "Dashboard", href: "/dashboard", current: false },
{ name: "Dashboard", href: "/admin/dashboard", current: false },
{ name: "Paquetes", href: "/admin/package", current: false },
{ name: "Personal", href: "/admin/staff", current: false },
]);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/AppRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const AppRouter = () => {
/>{" "}
<PrivateRouter
exact
path="/dashboard"
path="/admin/dashboard"
log={log}
component={Dashboard}
/>{" "}
Expand Down

0 comments on commit eda0afe

Please sign in to comment.