From a7c97859dac347f87aa311665ff126197c80f35f Mon Sep 17 00:00:00 2001 From: Niko Date: Sun, 4 Jun 2023 16:03:55 +0300 Subject: [PATCH] fix ng not ready --- ng-app/src/lib/Greet.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng-app/src/lib/Greet.svelte b/ng-app/src/lib/Greet.svelte index 234391b..4914d61 100644 --- a/ng-app/src/lib/Greet.svelte +++ b/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); }