Skip to content

Commit

Permalink
fix composer -> over
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Jun 13, 2020
1 parent 57a08f2 commit c3e2c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/utils/transform-styles/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import { map, compose } from 'lodash';
import { map, over } from 'lodash';

/**
* Internal dependencies
Expand All @@ -26,7 +26,7 @@ const transformStyles = ( styles, wrapperClassName = '' ) => {
if ( baseURL ) {
transforms.push( urlRewrite( baseURL ) );
}
return traverse( css, compose( transforms ) );
return traverse( css, over( transforms ) );
} );
};

Expand Down

0 comments on commit c3e2c10

Please sign in to comment.