working_frontend

This commit is contained in:
ahmed531998 2023-04-09 23:47:25 +02:00
parent b9da592254
commit 8ce4433ddb
1 changed files with 2 additions and 2 deletions

View File

@ -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>