Skip to content

Commit

Permalink
fix(platform): fix home page miss tokenGuard
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 22, 2023
1 parent fee1a22 commit 84eef0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/platform/src/app/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ export const AppRoutes = React.memo(() => {
{
path: '/',
element: <AppHomeRoute />,
data: {
canActivate: [tokenGuard],
},
},
{
path: '/',
element: <AppLayout />,
data: {
canActivate: [tokenGuard],
Expand Down

0 comments on commit 84eef0b

Please sign in to comment.