Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 49e975d

Browse files
committed
fix: correctly apply system
1 parent c3f7009 commit 49e975d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/core/utils/createComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function createComponent(getConfig) {
1616
render = ({ Component, ...props }) => <Component {...props} />,
1717
defaultComponent = 'div',
1818
system = allSystem,
19-
applySystem = system => props => system(props),
19+
applySystem = system => props => ({ '&&': system(props) }),
2020
injectTheme,
2121
InnerComponent: InnerComponentFromConfig,
2222
} = getConfig()

0 commit comments

Comments
 (0)