File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
configs/testing-library-compass/src Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,9 @@ function createWrapper(
328328 const StoreGetter : React . FunctionComponent = ( { children } ) => {
329329 const store = useStore ( ) ;
330330 const actions = useConnectionActions ( ) ;
331+ // eslint-disable-next-line react-hooks/immutability
331332 wrapperState . connectionsStore . getState = store . getState . bind ( store ) ;
333+ // eslint-disable-next-line react-hooks/immutability
332334 wrapperState . connectionsStore . actions = actions ;
333335 return < > { children } </ > ;
334336 } ;
@@ -599,6 +601,7 @@ function createPluginWrapper<
599601) {
600602 const ref : { current : PluginContext } = { current : { } as any } ;
601603 function ComponentWithProvider ( { children, ...props } : any ) {
604+ // eslint-disable-next-line react-hooks/immutability
602605 const plugin = ( ref . current = Plugin . useActivate (
603606 initialPluginProps ?? ( { } as any )
604607 ) ) ;
You can’t perform that action at this time.
0 commit comments