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 a35082a commit 774254cCopy full SHA for 774254c
docgen/assets/js/bindRunExamples.js
@@ -143,7 +143,7 @@ export default function bindRunExamples(codeSamples) {
143
}
144
145
// initialize examples for connector, check we have the matching pattern
146
- if (/function renderFn\(\S+, isFirstRendering\) {/g.test(exampleContent)) {
+ if (/function renderFn\(\S+(, isFirstRendering)?\) {/g.test(exampleContent)) {
147
initConnectorExample(codeSample, index);
148
149
});
0 commit comments