diff --git a/packages/console/src/cloud/pages/Main/index.tsx b/packages/console/src/cloud/pages/Main/index.tsx
index 53351449a..3521624f9 100644
--- a/packages/console/src/cloud/pages/Main/index.tsx
+++ b/packages/console/src/cloud/pages/Main/index.tsx
@@ -23,16 +23,16 @@ export default function Main() {
return ;
}
- // If current tenant ID is not set, but the defaultTenantId is available.
- if (defaultTenantId) {
- return ;
- }
-
// A new user has just signed up, redirect them to the onboarding flow.
if (isOnboarding) {
return ;
}
+ // If current tenant ID is not set, but the defaultTenantId is available.
+ if (defaultTenantId) {
+ return ;
+ }
+
// If user has pending invitations (onboarding will be skipped), show the invitation list and allow them to quick join.
if (isCloud && data?.length) {
return ;