Call handler after loadFees return the data

This commit is contained in:
ditatompel 2024-05-31 17:36:03 +07:00
parent 48fe09c1cb
commit 009faa6aa8
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -53,13 +53,12 @@
}), }),
{} {}
); );
handler.onChange((state) => loadData(state));
handler.invalidate();
}); });
loadCountries().then((data) => { loadCountries().then((data) => {
countries = data; countries = data;
}); });
handler.onChange((state) => loadData(state));
handler.invalidate();
}); });
</script> </script>