working_frontend
This commit is contained in:
parent
b9da592254
commit
8ce4433ddb
|
@ -13,7 +13,7 @@ const FeedbackForm = (props) => {
|
|||
const [modQuery, setModQuery] = useState("");
|
||||
const [response, setResponse] = useState("");
|
||||
const backendUrl = '/api';//process.env.REACT_APP_BACKEND_URL+'/api';
|
||||
|
||||
const mod = "Was this modification to the query correct? " + messages[0].modQuery
|
||||
function onSubmit(event) {
|
||||
event.preventDefault();
|
||||
|
||||
|
@ -144,7 +144,7 @@ const FeedbackForm = (props) => {
|
|||
</label>
|
||||
<select
|
||||
id="query-correctness"
|
||||
name="Was this modification to the query correct?" {messages[0].modQuery}
|
||||
name={mod}
|
||||
onChange={(e) => setModQueryCorrectness(e.target.value)}
|
||||
>
|
||||
<option value="yes">yes</option>
|
||||
|
|
Loading…
Reference in New Issue