Skip to content

Commit abd7730

Browse files
committed
fix hover
1 parent adc90cc commit abd7730

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/higher-order/with-block-style-context.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,12 @@
33
*/
44
import { createHigherOrderComponent } from '@wordpress/compose'
55
import { BlockStyleProvider } from '~stackable/hooks'
6-
import { useRef } from '@wordpress/element'
76

87
const 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
>

src/hooks/use-block-style-context.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)