diff --git a/frontend/src/main.js b/frontend/src/main.js index c353295..fe453d8 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -1,6 +1,6 @@ import axios from 'axios' -function showResult(resultEl) { +function showResult (resultEl) { const className = 'hidden' if (resultEl.classList) { resultEl.classList.remove('hidden', 'lg:hidden') @@ -9,7 +9,7 @@ function showResult(resultEl) { } } -function passQueryAccountAddressToInput(inputEl) { +function passQueryAccountAddressToInput (inputEl) { const urlParams = new URLSearchParams(window.location.search) const address = urlParams.get('address') if (address) { @@ -17,7 +17,6 @@ function passQueryAccountAddressToInput(inputEl) { } } - document.addEventListener('DOMContentLoaded', () => { const form = document.querySelector('#faucetForm') const recipientEl = document.querySelector('#recipientAddress') @@ -55,4 +54,4 @@ document.addEventListener('DOMContentLoaded', () => { console.log(error) }) }) -}); +})