Skip to content

Commit

Permalink
fix separator layer styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkae committed Sep 2, 2024
1 parent 6ceadd9 commit e8d7784
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/block-components/separator/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { compact } from 'lodash'
/**
* WordPress dependencies
*/
import { applyFilters } from '@wordpress/hooks'
import { applyFilters, doAction } from '@wordpress/hooks'

export const SeparatorStyles = props => {
const propsToPass = {
Expand Down Expand Up @@ -322,11 +322,11 @@ Style.addStyles = ( blockStyleGenerator, props = {} ) => {
location: 'bottom',
} )
addMarginBottomStyles( blockStyleGenerator, props )
applyFilters( 'stackable.block-component.separator.layer-styles.addStyles', blockStyleGenerator, {
doAction( 'stackable.block-component.separator.layer-styles.addStyles', blockStyleGenerator, {
...props,
location: 'top',
} )
applyFilters( 'stackable.block-component.separator.layer-styles.addStyles', blockStyleGenerator, {
doAction( 'stackable.block-component.separator.layer-styles.addStyles', blockStyleGenerator, {
...props,
location: 'bottom',
} )
Expand Down

0 comments on commit e8d7784

Please sign in to comment.