- {sortedGroups.length === 0 && !isLoading ? (
-
- Tap the find icon
- below to find new
- groups in your network or view group invites.
-
- ) : (
-
-
- {hasPinnedGroups ||
- hasPendingGangs ||
- hasGangsWithClaims ||
- hasLoadingGroups ||
- hasNewGroups ? (
- <>
-
- {hasPinnedGroups ? (
- <>
-
- Pinned
-
- {pinnedGroupsOptions}
+
+
+ {hasPinnedGroups ||
+ hasPendingGangs ||
+ hasGangsWithClaims ||
+ hasLoadingGroups ||
+ hasNewGroups ? (
+ <>
+
+ {hasPinnedGroups ? (
+ <>
+
+ Pinned
+
+ {pinnedGroupsOptions}
-
- All Groups
-
- >
- ) : null}
+
+ All Groups
+
+ >
+ ) : null}
- {hasLoadingGroups &&
- Object.keys(loadingGroups).map(([flag, _]) => (
-
- ))}
+ {hasLoadingGroups &&
+ Object.keys(loadingGroups).map(([flag, _]) => (
+
+ ))}
- {hasGangsWithClaims &&
- gangsWithClaims.map((flag) => (
-
- ))}
+ {hasGangsWithClaims &&
+ gangsWithClaims.map((flag) => (
+
+ ))}
- {hasNewGroups && newGroupsOptions}
-
+ {hasNewGroups && newGroupsOptions}
+
- {hasPendingGangs && (
-
- )}
- >
- ) : null}
-
-
- )}
+ {hasPendingGangs && (
+
+ )}
+ >
+ ) : null}
+
+