From d58c947b1e012c3c938933dc9294a6249fae00e3 Mon Sep 17 00:00:00 2001 From: Ruslan Petrov Date: Mon, 9 Mar 2020 19:06:53 +0300 Subject: [PATCH] Update motivation-solution.js (#1625) Removed unused props for clarity. --- examples/context/motivation-solution.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/context/motivation-solution.js b/examples/context/motivation-solution.js index 94c6030a..5cb4fc7f 100644 --- a/examples/context/motivation-solution.js +++ b/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 (