-
In my App.svelte file I have a button as follows:
This button calls this function:
If I click on the Submit button once, then nothing happens. However, if I click on it a second time, then the confirm dialog appears with the expected order information contained within it. Any suggestions as how to change the code so that it is only necessary to click on the Submit button once would be appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
abisar
Jul 25, 2022
Replies: 1 comment 1 reply
-
It looks like you're not waiting for invoke to respond. Try this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
FabianLars
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like you're not waiting for invoke to respond. Try this: