Skip to content

Commit

Permalink
fix: redirect for single landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
deeonwuli committed May 30, 2024
1 parent c51953d commit a8c423f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webapp/pages/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function useRedirectOnSinglePrimaryNode(
const { actions, launchAppBaseUrl } = useAppContext();
const { user } = useConfig();
const url =
user && landingNode && userLandings?.length === 2
user && landingNode && userLandings?.length === 1
? getPrimaryActionNodes(landingNode, { actions, user })
: undefined;

Expand Down

0 comments on commit a8c423f

Please sign in to comment.