Skip to content

Commit

Permalink
fix: omit props
Browse files Browse the repository at this point in the history
  • Loading branch information
eddort committed May 19, 2021
1 parent ef79571 commit 8aa3260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atomic-styles/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default (config, defaultProps = {}) => componentProps => {
const { css } = createStyleRule({ propKey, value, props, config });
if (!css) return acc;

delete cleanedProps[propKey];
delete cleanedProps[propKey.join('-')];
return merge(acc, css);
}, overrider(props));
return { cssObject, cleanedProps };
Expand Down

0 comments on commit 8aa3260

Please sign in to comment.