Skip to content

Commit

Permalink
delete DOMContentLoaded
Browse files Browse the repository at this point in the history
  • Loading branch information
alkorlos committed Nov 22, 2023
1 parent c770db7 commit 8187919
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/scripts/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import components from './components/index.js';

document.addEventListener('DOMContentLoaded', function () {
components();
});
components();

0 comments on commit 8187919

Please sign in to comment.