mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix js lint
some rules suppressed to avoid changing implementation
This commit is contained in:
parent
f5461a1eb2
commit
800bf1b766
28 changed files with 91 additions and 44 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue