Hemang Thakur commited on
Commit
7cfcf77
·
1 Parent(s): ace1787

fixed file path for temp graph html file

Browse files
frontend/src/Components/AiComponents/Graph.js CHANGED
@@ -14,7 +14,7 @@ export default function Graph({ open, onClose }) {
14
  fetch("/action/graph", {
15
  method: "POST",
16
  headers: { "Content-Type": "application/json" },
17
- body: JSON.stringify({}) // sending an empty JSON object
18
  })
19
  .then(res => res.json())
20
  .then(data => {
 
14
  fetch("/action/graph", {
15
  method: "POST",
16
  headers: { "Content-Type": "application/json" },
17
+ body: JSON.stringify({})
18
  })
19
  .then(res => res.json())
20
  .then(data => {