Skip to content

Commit

Permalink
fixing bug when config isn't defined
Browse files Browse the repository at this point in the history
  • Loading branch information
esr360 committed Jul 1, 2018
1 parent 510c89e commit 1d55208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/_synergy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2103,7 +2103,7 @@ $css-properties: (
/// @param {selector} $target
/// @param {list} $components
/// @param {map} $content
@mixin render-component($target, $components, $content) {
@mixin render-component($target, $components, $content, $config: if(variable-exists('config'), $config, ())) {
@content;

@if selector-is-root-module($target) {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/mixins/_component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
/// @param {selector} $target
/// @param {list} $components
/// @param {map} $content
@mixin render-component($target, $components, $content) {
@mixin render-component($target, $components, $content, $config: if(variable-exists('config'), $config, ())) {
@content;

@if selector-is-root-module($target) {
Expand Down

0 comments on commit 1d55208

Please sign in to comment.