mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: No implict any fixes (#17020)
This commit is contained in:
@@ -3,7 +3,7 @@ import { connect } from 'react-redux';
|
||||
import { store } from '../../store/store';
|
||||
|
||||
export function connectWithStore(WrappedComponent, ...args) {
|
||||
const ConnectedWrappedComponent = connect(...args)(WrappedComponent);
|
||||
const ConnectedWrappedComponent = (connect as any)(...args)(WrappedComponent);
|
||||
|
||||
return props => {
|
||||
return <ConnectedWrappedComponent {...props} store={store} />;
|
||||
|
||||
Reference in New Issue
Block a user