From e3e29f4ef1ddefbb78daef2553f6c5c23a552389 Mon Sep 17 00:00:00 2001 From: Van1s1mys Date: Thu, 4 Apr 2024 22:29:01 +0500 Subject: [PATCH] remove prerender --- js/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/main.js b/js/main.js index 2591487..cddf86c 100644 --- a/js/main.js +++ b/js/main.js @@ -2,11 +2,9 @@ import {uploadImage} from './src/postAdd/addPostForm'; import {getData} from './src/api/api'; import {timedMessage} from './src/api/messages'; import initThumbnailsSorting from './src/postRender/thumbnailsSorting'; -import {createThumbnails} from './src/postRender/thumbnails'; const ERROR_DELAY = 5000; getData().then((posts) => { - createThumbnails(posts); initThumbnailsSorting(posts); // eslint-disable-next-line no-unused-vars }).catch((err) => {