diff --git a/js/main.js b/js/main.js index 5c0e96d..dfc8f36 100644 --- a/js/main.js +++ b/js/main.js @@ -4,8 +4,7 @@ import "./form-filling.js"; import {loadPhoto} from "./photo-load.js"; import {getData} from "./interact-with-data.js"; loadPhoto(); -const loadData = getData(renderPosts, showAlert); -loadData(); +getData(renderPosts, showAlert)(); //const sendData = postData(console.log, console.error); //sendData();