Skip to content

Commit 3d9da1b

Browse files
committed
Fixed lint issue
1 parent f090227 commit 3d9da1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/OptionsCrawler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class OptionsCrawler {
8585
const reactComponent = foundReactGenerator ? foundReactGenerator() : undefined;
8686
if (reactComponent && this.isComponentWithOptions(reactComponent)) {
8787
return isFunction(reactComponent.options)
88-
? reactComponent.options({ componentId: layout.id, ...layout.passProps } || {})
88+
? reactComponent.options({ componentId: layout.id, ...layout.passProps })
8989
: reactComponent.options;
9090
}
9191
return {};

0 commit comments

Comments
 (0)