Browse Source
Update motivation-solution.js (#1625)
Removed unused props for clarity.
main
Ruslan Petrov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
examples/context/motivation-solution.js
|
|
@ -21,7 +21,7 @@ class App extends React.Component { |
|
|
|
// highlight-range{1,2}
|
|
|
|
// A component in the middle doesn't have to
|
|
|
|
// pass the theme down explicitly anymore.
|
|
|
|
function Toolbar(props) { |
|
|
|
function Toolbar() { |
|
|
|
return ( |
|
|
|
<div> |
|
|
|
<ThemedButton /> |
|
|
|