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 f090227 commit 3d9da1bCopy full SHA for 3d9da1b
src/commands/OptionsCrawler.ts
@@ -85,7 +85,7 @@ export class OptionsCrawler {
85
const reactComponent = foundReactGenerator ? foundReactGenerator() : undefined;
86
if (reactComponent && this.isComponentWithOptions(reactComponent)) {
87
return isFunction(reactComponent.options)
88
- ? reactComponent.options({ componentId: layout.id, ...layout.passProps } || {})
+ ? reactComponent.options({ componentId: layout.id, ...layout.passProps })
89
: reactComponent.options;
90
}
91
return {};
0 commit comments