From 9609c673b0adb3bda6564ce14ee5a7ef6a7c084d Mon Sep 17 00:00:00 2001 From: tjcouch-sil Date: Fri, 24 May 2024 09:52:56 +0900 Subject: [PATCH] Updated hello-world.web-view to fix using projectId --- .../src/hello-world/src/web-views/hello-world.web-view.tsx | 6 +++--- src/renderer/services/web-view.service-host.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/src/hello-world/src/web-views/hello-world.web-view.tsx b/extensions/src/hello-world/src/web-views/hello-world.web-view.tsx index 7660b27745..7a80064a3a 100644 --- a/extensions/src/hello-world/src/web-views/hello-world.web-view.tsx +++ b/extensions/src/hello-world/src/web-views/hello-world.web-view.tsx @@ -208,7 +208,7 @@ globalThis.webViewComponent = function HelloWorld({ projectId ?? undefined, ).VerseUSFM(verseRef, 'Loading Verse'); - const helloWorldProjectSettings = useHelloWorldProjectSettings('ParatextStandard', project); + const helloWorldProjectSettings = useHelloWorldProjectSettings('ParatextStandard', projectId); const { headerStyle } = helloWorldProjectSettings; const [localizedString] = usePromise( @@ -274,14 +274,14 @@ globalThis.webViewComponent = function HelloWorld({