[feat] ActionSidebar
refactor
#5688
Annotations
10 errors and 4 warnings
build:
src/components/frame/Extensions/layouts/ColonyLayout.tsx#L111
Unexpected 'fixme' comment: 'FIXME: I think we want to open the...'
|
build:
src/components/frame/Extensions/layouts/hooks.ts#L1
'useCallback' is defined but never used
|
build:
src/components/v5/common/ActionSidebar/ActionTypeSelect.tsx#L85
Unexpected 'fixme' comment: 'FIXME: We might need to update the...'
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionForm.ts#L13
'mapPayload' is defined but never used
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionForm.ts#L14
'pipe' is defined but never used
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionForm.ts#L15
'withMeta' is defined but never used
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionForm.ts#L37
Unexpected 'fixme' comment: 'FIXME: The following need to be...'
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionForm.ts#L39
Unexpected 'fixme' comment: 'FIXME: Cater for the case where there is...'
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionForm.ts#L40
'action' is defined but never used
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionFormProps.ts#L2
'useEffect' is defined but never used
|
build:
src/components/v5/common/ActionSidebar/hooks/useActionFormProps.ts#L114
React Hook useCallback has unnecessary dependencies: 'colony.nativeToken.tokenAddress', 'searchParams', and 'setSearchParams'. Either exclude them or remove the dependency array
|
build:
src/components/v5/common/ActionSidebar/partials/CreateAction/partials/CreateActionForm.tsx#L259
React Hook useCallback has an unnecessary dependency: 'openChangeModal'. Either exclude it or remove the dependency array
|
build:
src/components/v5/frame/ColonyHome/partials/DashboardHeader/partials/ColonyLinks/useMuteColonyItem.tsx#L83
React Hook useCallback has an unnecessary dependency: 'MSG.toastNotificationsUnmuted'. Either exclude it or remove the dependency array. Outer scope values like 'MSG.toastNotificationsUnmuted' aren't valid dependencies because mutating them doesn't re-render the component
|
build:
src/components/v5/frame/ColonyHome/partials/DashboardHeader/partials/ColonyLinks/useMuteColonyItem.tsx#L111
React Hook useCallback has an unnecessary dependency: 'MSG.toastNotificationsMuted'. Either exclude it or remove the dependency array. Outer scope values like 'MSG.toastNotificationsMuted' aren't valid dependencies because mutating them doesn't re-render the component
|