We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f07d2 commit 35d0ec7Copy full SHA for 35d0ec7
1 file changed
src/frontend/App.tsx
@@ -38,8 +38,9 @@ function App() {
38
setTimeout(() => setSuccess(null), 3000);
39
};
40
41
- const handleLandscapeUpdated = (updatedLandscape: CleanedLandscape[]) => {
+ const handleLandscapeUpdated = async (updatedLandscape: CleanedLandscape[]) => {
42
setLandscape(updatedLandscape);
43
+ await apiClient.updateLandscape(updatedLandscape);
44
setError(null);
45
46
0 commit comments