Skip to content

Commit 0308afc

Browse files
authored
Merge pull request #2683 from objectcomputing/bugfix-2682/zero-guilds
Replaced the skeleton loader with a message that no guilds are available
2 parents 1564393 + 7791107 commit 0308afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-ui/src/components/guild-results/GuildResults.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ const GuildResults = () => {
113113
</div>
114114
</div>
115115
<div className="guilds">
116-
{guilds?.length
117-
? guilds?.map((guild, index) =>
116+
{guilds
117+
? guilds.map((guild, index) =>
118118
guild.name.toLowerCase().includes(searchText.toLowerCase()) ? (
119119
<GuildSummaryCard
120120
key={`guild-summary-${guild.id}`}

0 commit comments

Comments
 (0)