Skip to content

Commit

Permalink
allow no communities found
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 27, 2023
1 parent 7ff903b commit 6857ebf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/devhub/page/communities.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ const [sort, setSort] = useState("");

const communitiesMetadata = getAllCommunitiesMetadata();

if (!communitiesMetadata) {
return <p>Loading...</p>;
}

const SortedAndFiltered = (searchKey, sortBy) => {
let communities = (communitiesMetadata ?? []).reverse();

Expand Down

0 comments on commit 6857ebf

Please sign in to comment.