We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a02b6d commit 110bec7Copy full SHA for 110bec7
apps/developer-hub/src/components/EntropyTable/entropy-api-data-fetcher.tsx
@@ -54,14 +54,14 @@ const apiChainConfigToEntrySchema = ApiChainConfigSchema.transform((chain) => {
54
55
const entropyDeploymentsSchema = z.array(apiChainConfigToEntrySchema);
56
57
-const HIDDEN_CHAINS = ["taiko"];
+const HIDDEN_CHAINS = new Set(["taiko"]);
58
59
export async function fetchEntropyDeployments(
60
url: string,
61
): Promise<Record<string, EntropyDeployment>> {
62
const response = await fetch(url);
63
const entries = entropyDeploymentsSchema.parse(await response.json());
64
return Object.fromEntries(
65
- entries.filter(([name]) => !HIDDEN_CHAINS.includes(name)),
+ entries.filter(([name]) => !HIDDEN_CHAINS.has(name)),
66
);
67
}
0 commit comments