You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: src/views/dashboard/index.js
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -112,13 +112,7 @@ class Dashboard extends React.Component<Props, State> {
112
112
if(user){
113
113
// if the user hasn't joined any communities yet, we have nothing to show them on the dashboard. So instead just render the onboarding step to upsell popular communities to join
114
114
if(user.communityConnection.edges.length===0){
115
-
return(
116
-
<NewUserOnboarding
117
-
noCloseButton
118
-
close={()=>{}}
119
-
currentUser={user}
120
-
/>
121
-
);
115
+
return<NewUserOnboardingcurrentUser={user}/>;
122
116
}
123
117
124
118
// at this point we have succesfully validated a user, and the user has both a username and joined communities - we can show their thread feed!
0 commit comments