-
Notifications
You must be signed in to change notification settings - Fork 58
Component cleanup: Icons, paths, links, code style (3928) #3319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Changes from 1 commit
800bf1b
bf38403
d8f3cd8
b57566d
d1d792e
fcf6b56
e348ff4
f980dd2
f4888c0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,9 @@ const filterSteps = ( steps, conditions ) => { | |
| }; | ||
|
|
||
| export const getSteps = ( flags ) => { | ||
| // eslint-disable-next-line react-hooks/rules-of-hooks | ||
|
||
| const { ownBrandOnly } = CommonHooks.useWooSettings(); | ||
| // eslint-disable-next-line react-hooks/rules-of-hooks | ||
| const { isCasualSeller } = OnboardingHooks.useBusiness(); | ||
|
|
||
| const steps = filterSteps( ALL_STEPS, [ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ const PaymentDependencyMessage = ( { parentId, parentName } ) => { | |
| { | ||
| methodLink: ( | ||
| <strong> | ||
| { /* eslint-disable-next-line jsx-a11y/anchor-is-valid */ } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have a ticket to fix the accessibility issues, but not sure if this should be done here, instead of disabling the lint or in a separate issue. cc: @InpsydeNiklas |
||
| <a | ||
| href="#" | ||
| onClick={ ( e ) => { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 ); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍