refactor: set field without array index

This commit is contained in:
oSumAtrIX 2023-03-19 01:52:59 +01:00
parent e0ece84431
commit 019c9234c4
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -54,8 +54,8 @@
// will refactor later maybe idk // will refactor later maybe idk
// Reply: don't think we need to refactor because nobody cares if this code is shit lol // Reply: don't think we need to refactor because nobody cares if this code is shit lol
onMount(async () => { onMount(async () => {
window['use_token'] = exchange_token; window.use_token = exchange_token;
window['submit_poll'] = submitBallot; window.submit_poll = submitBallot;
const response = await fetch('https://poll.revanced.app/logos'); const response = await fetch('https://poll.revanced.app/logos');
logos = await response.json(); logos = await response.json();