Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Dec 27, 2023
1 parent 7fb5da1 commit dcbfed8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ function useHTMLClass( className, isDarkMode ) {
const mainImage = new Image();
mainImage.src = aiBg;
mainImage.onload = () => {
if( document.querySelector(
'.nfd-onboarding-skeleton--sitegen'
) ){
if(

Check failure on line 29 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

Insert `·`
document.querySelector('.nfd-onboarding-skeleton--sitegen')

Check failure on line 30 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

Replace `'.nfd-onboarding-skeleton--sitegen'` with `·'.nfd-onboarding-skeleton--sitegen'·`
){

Check failure on line 31 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

Insert `·`
document.querySelector(
'.nfd-onboarding-skeleton--sitegen'
'.nfd-onboarding-skeleton--sitegen'
).style.background = isDarkMode ? `url('${ aiBg }')` : lightBg;
}
};
Expand Down

0 comments on commit dcbfed8

Please sign in to comment.