Skip to content

Commit fe6eba1

Browse files
committed
Undo unused export of getDependsOnOwnProps
1 parent 61e1950 commit fe6eba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connect/wrapMapToProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)