From 59d66fd8f89899d7ebf01201f7b8b1cab0a7251d Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Wed, 27 Dec 2023 10:30:51 +0530 Subject: [PATCH] Update index.js --- .../components/NewfoldInterfaceSkeleton/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js b/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js index 046a493b8..bd5e914e1 100644 --- a/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js +++ b/src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js @@ -26,9 +26,9 @@ function useHTMLClass( className, isDarkMode ) { const mainImage = new Image(); mainImage.src = aiBg; mainImage.onload = () => { - if( - document.querySelector('.nfd-onboarding-skeleton--sitegen') - ){ + if ( + document.querySelector( '.nfd-onboarding-skeleton--sitegen' ) + ) { document.querySelector( '.nfd-onboarding-skeleton--sitegen' ).style.background = isDarkMode ? `url('${ aiBg }')` : lightBg;