From 717f5da6064929284d4ce0763cac3c3950a86438 Mon Sep 17 00:00:00 2001 From: Da Kong Date: Wed, 26 Jun 2024 16:30:23 +0800 Subject: [PATCH] quick fix --- src/components/embedded/welcomeScreen.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/embedded/welcomeScreen.jsx b/src/components/embedded/welcomeScreen.jsx index 26fbf34..b9a8f76 100644 --- a/src/components/embedded/welcomeScreen.jsx +++ b/src/components/embedded/welcomeScreen.jsx @@ -51,9 +51,9 @@ export default () => { } const isFirstTime = await chrome.storage.local.get('isFirstTime'); if (isObjectEmpty(isFirstTime) && platformName !== '') { - setIsOpen(true); setDocLink(manifest.platforms[platformName].embeddedOnCrmPage.welcomePage.docLink); setVideoLink(manifest.platforms[platformName].embeddedOnCrmPage.welcomePage.videoLink); + setIsOpen(true); await chrome.storage.local.set({ isFirstTime: false }); trackFirstTimeSetup(); } @@ -132,7 +132,7 @@ export default () => { - By {manifest.author} + By {manifest?.author?.name}