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 4dd79cd commit 3ce5bffCopy full SHA for 3ce5bff
src/components/RequestSamples/RequestSamples.tsx
@@ -30,7 +30,7 @@ export class RequestSamples extends React.Component<RequestSamplesProps> {
30
<TabList>
31
{hasBodySample && <Tab key="payload"> Payload </Tab>}
32
{samples.map(sample => (
33
- <Tab key={sample.lang}>
+ <Tab key={sample.lang + '_' + (sample.label || '')}>
34
{sample.label !== undefined ? sample.label : sample.lang}
35
</Tab>
36
))}
0 commit comments