Skip to content

Commit

Permalink
[system] Fix using transform and theme in style (#16379)
Browse files Browse the repository at this point in the history
  • Loading branch information
akomm committed Jul 2, 2019
1 parent 36b3a9c commit c9fdebb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/material-ui-system/src/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ function style(options) {
value = themeMapping[propValueFinal];
} else {
value = getPath(themeMapping, propValueFinal) || propValueFinal;
}

if (transform) {
value = transform(value);
}
if (transform) {
value = transform(value);
}

if (cssProperty === false) {
Expand Down

0 comments on commit c9fdebb

Please sign in to comment.