We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67b6a5e commit 6a05854Copy full SHA for 6a05854
1 file changed
apps/sim/app/(landing)/integrations/[slug]/page.tsx
@@ -18,14 +18,6 @@ const byName = new Map(allIntegrations.map((i) => [i.name, i]))
18
const bySlug = new Map(allIntegrations.map((i) => [i.slug, i]))
19
const byType = new Map(allIntegrations.map((i) => [i.type, i]))
20
21
-if (process.env.NODE_ENV === 'development') {
22
- const slugsSeen = new Set<string>()
23
- for (const i of allIntegrations) {
24
- if (slugsSeen.has(i.slug)) throw new Error(`Duplicate integration slug: ${i.slug}`)
25
- slugsSeen.add(i.slug)
26
- }
27
-}
28
-
29
/** Returns workflow pairs that feature the given integration on either side. */
30
function getPairsFor(name: string) {
31
return POPULAR_WORKFLOWS.filter((p) => p.from === name || p.to === name)
0 commit comments