Skip to content

Commit

Permalink
Merge pull request #10 from TSTPrep/main
Browse files Browse the repository at this point in the history
working on making test
  • Loading branch information
valentinceaprazaru authored Mar 7, 2024
2 parents e620909 + 725d67e commit 29f7df8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/forms/writing-evaluation-form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const WritingEvaluationForm = () => {

setLoading(true);

const demo = false;

const response = await fetch('https://TSTPrep-tstprep-writing.hf.space/get_passage_html', {
method: 'POST',
Expand All @@ -23,7 +24,7 @@ const WritingEvaluationForm = () => {
body: JSON.stringify({
essay,
task,
// demo: true
demo
})
});
if (!response.ok) throw new Error(response.statusText);
Expand Down

0 comments on commit 29f7df8

Please sign in to comment.