Skip to content

Commit 3cf2cc8

Browse files
committed
Update use-global-styles-output.js
1 parent 1af477e commit 3cf2cc8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/OnboardingSPA/utils/global-styles/use-global-styles-output.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
*/
2323
import {
2424
appendToSelector,
25-
getBlockStyleVariationSelector,
2625
getDuotoneFilter,
2726
getResolvedValue,
2827
getValueFromObjectPath,
@@ -1207,7 +1206,7 @@ const getSelectorsConfig = ( blockType, rootSelector ) => {
12071206
return config;
12081207
};
12091208

1210-
export const getBlockSelectors = ( blockTypes, storedPreviewSettings ) => {
1209+
export const getBlockSelectors = ( blockTypes ) => {
12111210
const result = {};
12121211
blockTypes.forEach( ( blockType ) => {
12131212
const name = blockType.name;
@@ -1393,10 +1392,7 @@ export function generateStyles(
13931392
}
13941393

13951394
const updatedConfig = updateConfigWithSeparator( previewSettings );
1396-
const blockSelectors = getBlockSelectors(
1397-
getBlockTypes(),
1398-
storedPreviewSettings
1399-
);
1395+
const blockSelectors = getBlockSelectors( getBlockTypes() );
14001396

14011397
// Generate custom properties, global styles, and SVG filters
14021398
const customProperties = toCustomProperties(

0 commit comments

Comments
 (0)