Skip to content

Commit

Permalink
Добавляет правки по стилю написания
Browse files Browse the repository at this point in the history
  • Loading branch information
brazilets committed Mar 29, 2024
1 parent 76ac6a4 commit 33840b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions js/filters.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './thumbnails.js';


4 changes: 2 additions & 2 deletions js/thumbnails.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const clearUsersPictures = () => {
containerUsersPictures.innerHTML = '';
};

function getFetchDataAndRender() {
const getFetchDataAndRender = () => {
getData().then((data) => {
usersPictures = data;
renderUsersPictures(usersPictures);
Expand All @@ -43,6 +43,6 @@ function getFetchDataAndRender() {
document.body.removeChild(document.querySelector('.data-error'));
}, 5000);
});
}
};

export { renderUsersPictures, clearUsersPictures, getFetchDataAndRender };

0 comments on commit 33840b8

Please sign in to comment.