server { listen 80; server_name localhost; index index.html index.htm; location / { try_files $uri $uri/ /index.html; } }
[routes]
vinxi
{}
export const [fetchBal, setFetchBal] = createSignal();
async func..await fetch...setFetchBal(await res.json());console.log(Object.keys(fetchBal()["subscription"]).length);console.log("check", JSON.stringify(fetchBal()["subscription"]) === '{}');