Skip to content

Commit 4264287

Browse files
committed
fix: prevent passing mapProps to Adopt children
1 parent 489bc4c commit 4264287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class Adopt extends React.Component<AdoptProps<any, any>> {
109109
}
110110

111111
public render(): JSX.Element {
112-
const { mapper, ...props } = this.props
112+
const { mapper, mapProps, ...props } = this.props
113113
return <this.Composed {...props} />
114114
}
115115
}

0 commit comments

Comments
 (0)