diff --git a/static/app.js b/static/app.js index 21cd6f9..68bed59 100644 --- a/static/app.js +++ b/static/app.js @@ -12,7 +12,7 @@ function saveData() { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) - }); + }).then(() => fetchData()); }