Skip to content

Commit c20ae48

Browse files
committed
Update Provider.js
1 parent e06a0a7 commit c20ae48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/Provider.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ export default class Provider extends Component {
2929
}
3030

3131
render() {
32-
const { children } = this.props
33-
return Children.only(children)
32+
return Children.only(this.props.children)
3433
}
3534
}
3635

0 commit comments

Comments
 (0)