From 009faa6aa8b237c5d09dbbaf0a8ad1a0cd7dca6c Mon Sep 17 00:00:00 2001 From: ditatompel Date: Fri, 31 May 2024 17:36:03 +0700 Subject: [PATCH] Call handler after loadFees return the data --- frontend/src/routes/remote-nodes/+page.svelte | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/remote-nodes/+page.svelte b/frontend/src/routes/remote-nodes/+page.svelte index 1bc3b68..d77ef32 100644 --- a/frontend/src/routes/remote-nodes/+page.svelte +++ b/frontend/src/routes/remote-nodes/+page.svelte @@ -53,13 +53,12 @@ }), {} ); + handler.onChange((state) => loadData(state)); + handler.invalidate(); }); loadCountries().then((data) => { countries = data; }); - - handler.onChange((state) => loadData(state)); - handler.invalidate(); });