File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 33 */
44import { createHigherOrderComponent } from '@wordpress/compose'
55import { BlockStyleProvider } from '~stackable/hooks'
6- import { useRef } from '@wordpress/element'
76
87const withBlockStyleContext = blockStyles => createHigherOrderComponent (
98 WrappedComponent => props => {
10- const editCss = useRef ( '' )
11-
129 return (
1310 < BlockStyleProvider
1411 blockStyles = { blockStyles }
15- editCss = { editCss }
16- blockState = { props . blockState }
1712 clientId = { props . clientId }
1813 context = { props . context }
1914 >
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ export const BlockStyleProvider = props => {
1414 return < BlockStyleContext . Provider value = { [
1515 props . blockStyles ,
1616 {
17- blockState : props . blockState ,
1817 clientId : props . clientId ,
1918 context : props . context ,
2019 } ,
You can’t perform that action at this time.
0 commit comments