We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28a803a commit c839343Copy full SHA for c839343
src/core/CodeSnippet.tsx
@@ -281,7 +281,9 @@ const CodeSnippet: React.FC<CodeSnippetProps> = ({
281
return fullLang;
282
}
283
// Fall back to first language with this prefix
284
- const prefixMatch = languages.find((l) => l.startsWith(`${resolvedSdk}_`));
+ const prefixMatch = languages.find((l) =>
285
+ l.startsWith(`${resolvedSdk}_`),
286
+ );
287
if (prefixMatch) return prefixMatch;
288
289
0 commit comments