([])
- const setCommunityDashboardState = useDataStore(
- (s) => s.communityDashboard.setState,
+ const setCommunityOverviewState = useDataStore(
+ (s) => s.communityOverview.setState,
)
const save = useCallback(
@@ -27,14 +27,14 @@ export const JoinCommunity: FC = memo(function JoinCommunity() {
setNewProjectUrl('')
setLoading(false)
if (errors.length === 0) {
- setCommunityDashboardState('initial')
+ setCommunityOverviewState('overview')
}
},
[
setLoading,
joinCommunity,
setNewProjectUrl,
- setCommunityDashboardState,
+ setCommunityOverviewState,
newProjectUrl,
setErrors,
],
@@ -78,7 +78,7 @@ export const JoinCommunity: FC = memo(function JoinCommunity() {
/>
-