From dd01167f080ddd07d2cba92332eb405593536f59 Mon Sep 17 00:00:00 2001 From: Suninall Date: Mon, 30 Dec 2024 22:43:38 +0700 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D0=B8=D1=80=D0=B0=D0=B5=D1=82=20?= =?UTF-8?q?=D0=BE=D0=B1=D0=B5=D1=80=D1=82=D0=BA=D1=83=20=D1=83=20getData?= =?UTF-8?q?=20=D0=B2=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();