We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2303f82 commit 3e6acb2Copy full SHA for 3e6acb2
stepped-solutions/Finished App/src/components/StorePicker.js
@@ -12,7 +12,7 @@ class StorePicker extends React.Component {
12
// 1. Stop the form from submitting
13
event.preventDefault();
14
// 2. get the text from that input
15
- const storeName = this.myInput.value.value;
+ const storeName = this.myInput.current.value;
16
// 3. Change the page to /store/whatever-they-entered
17
this.props.history.push(`/store/${storeName}`);
18
};
0 commit comments