We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d33e46f commit cfccf8eCopy full SHA for cfccf8e
1 file changed
src/webpage/discovery.ts
@@ -105,10 +105,7 @@ export class Discovery {
105
});
106
const json = await res.json();
107
console.log([...json.guilds], json.guilds);
108
- //@ts-ignore
109
- json.guilds = json.guilds.sort((a, b) => {
110
- return b.member_count - a.member_count;
111
- });
+
112
content.innerHTML = "";
113
const title = document.createElement("h2");
114
title.textContent = I18n.guild.disoveryTitle(json.guilds.length + "");
0 commit comments