fix ng not ready

Niko 1 year ago
parent 85d43989b6
commit a7c97859da
  1. 2
      ng-app/src/lib/Greet.svelte

@ -31,7 +31,7 @@
async function greet() {
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
greetMsg = await ng.greet(name);
greetMsg = await ng?.greet(name);
}
</script>

Loading…
Cancel
Save