Skip to content

Commit ffac704

Browse files
committed
Undo unused export of getDependsOnOwnProps
1 parent 4bb7dc1 commit ffac704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connect/wrapMapToProps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ActionCreatorsMapObject, Dispatch, ActionCreator } from 'redux'
1+
import type { ActionCreator, ActionCreatorsMapObject, Dispatch } from 'redux'
22

33
import type { FixTypeLater } from '../types'
44
import verifyPlainObject from '../utils/verifyPlainObject'
@@ -47,7 +47,7 @@ export function wrapMapToPropsConstant(
4747
// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and
4848
// therefore not reporting its length accurately..
4949
// TODO Can this get pulled out so that we can subscribe directly to the store if we don't need ownProps?
50-
export function getDependsOnOwnProps(mapToProps: MapToProps) {
50+
function getDependsOnOwnProps(mapToProps: MapToProps) {
5151
return mapToProps.dependsOnOwnProps
5252
? Boolean(mapToProps.dependsOnOwnProps)
5353
: mapToProps.length !== 1

0 commit comments

Comments
 (0)