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 0fd3ff3 commit 7b1d542Copy full SHA for 7b1d542
src/react-components/code-sample.tsx
@@ -119,6 +119,7 @@ export function CodeSamplesViewer({
119
}, [state.snippets]);
120
121
const getOperationKey = (snippet: UsageSnippet | undefined): string => {
122
+ if (!snippet) return "";
123
let { operationId } = snippet;
124
const methodPathDisplay = getMethodPath(snippet);
125
if (!operationId) {
0 commit comments