Skip to content

Commit 803010b

Browse files
committed
Use const instead of let
Change let to const because there is no other value assigned to this variable.
1 parent fa749db commit 803010b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class Provider extends Component {
3232
}
3333

3434
render() {
35-
let { children } = this.props
35+
const { children } = this.props
3636
return Children.only(children)
3737
}
3838
}

0 commit comments

Comments
 (0)