diff --git a/packages/sanity/src/core/studio/StudioTelemetryProvider.tsx b/packages/sanity/src/core/studio/StudioTelemetryProvider.tsx index b628a45fc10..1dc12bb4805 100644 --- a/packages/sanity/src/core/studio/StudioTelemetryProvider.tsx +++ b/packages/sanity/src/core/studio/StudioTelemetryProvider.tsx @@ -97,5 +97,5 @@ export function StudioTelemetryProvider(props: {children: ReactNode; config: Con } function getWellKnownName(name: string) { - return WELL_KNOWN_NAMES.includes(name.toLowerCase()) ? name : undefined + return WELL_KNOWN_NAMES.find((wellKnownName) => name.toLowerCase().includes(wellKnownName)) }