From dda92bd41f4bee11e2cc5de265ce4fbf5221f1ff Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Sep 2023 13:10:36 +0200 Subject: autoformat with eslint --- webAO/components/audioChannels.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'webAO/components/audioChannels.js') diff --git a/webAO/components/audioChannels.js b/webAO/components/audioChannels.js index 80bdb4f..6032e66 100644 --- a/webAO/components/audioChannels.js +++ b/webAO/components/audioChannels.js @@ -3,11 +3,11 @@ * @param {number} amountOfChannels Amount of Blips to put on page */ const createAudioChannels = (amountOfChannels) => { - for (let i = 0; i < amountOfChannels; i++) { - const audioChannel = document.createElement('audio'); - audioChannel.setAttribute('class', 'audioChannel'); - document.body.appendChild(audioChannel); - } + for (let i = 0; i < amountOfChannels; i++) { + const audioChannel = document.createElement('audio'); + audioChannel.setAttribute('class', 'audioChannel'); + document.body.appendChild(audioChannel); + } }; createAudioChannels(4); export default createAudioChannels; -- cgit