Fix js lint

some rules suppressed to avoid changing implementation
This commit is contained in:
carmenmaymo 2025-04-14 14:37:16 +02:00
parent f5461a1eb2
commit 800bf1b766
No known key found for this signature in database
GPG key ID: 6023F686B0F3102E
28 changed files with 91 additions and 44 deletions

View file

@ -29,8 +29,10 @@ const ACTIVITIES = {
export const useHandleOnboardingButton = ( isSandbox ) => {
const { onboardingUrl } = isSandbox
? CommonHooks.useSandbox()
: CommonHooks.useProduction();
? // eslint-disable-next-line react-hooks/rules-of-hooks
CommonHooks.useSandbox()
: // eslint-disable-next-line react-hooks/rules-of-hooks
CommonHooks.useProduction();
const { ownBrandOnly } = CommonHooks.useWooSettings();
const { products, options } =
OnboardingHooks.useDetermineProducts( ownBrandOnly );