Skip to content

Lint fix

Lint fix #1438

Triggered via push March 9, 2025 17:50
Status Success
Total duration 1m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: apps/web/components/admin/base-layout.tsx#L122
React Hook useEffect has missing dependencies: 'profile' and 'router'. Either include them or remove the dependency array
lint: apps/web/components/admin/base-layout.tsx#L133
React Hook useEffect has missing dependencies: 'dispatch' and 'router'. Either include them or remove the dependency array. If 'dispatch' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: apps/web/components/admin/blogs/editor/course-hook.ts#L75
React Hook useCallback has a missing dependency: 'toast'. Either include it or remove the dependency array
lint: apps/web/components/admin/blogs/editor/details.tsx#L55
React Hook useEffect has a missing dependency: 'refreshDetails'. Either include it or remove the dependency array. You can also do a functional update 'setRefreshDetails(r => ...)' if you only need 'refreshDetails' in the 'setRefreshDetails' call
lint: apps/web/components/admin/blogs/index.tsx#L89
React Hook useCallback has a missing dependency: 'toast'. Either include it or remove the dependency array
lint: apps/web/components/admin/blogs/index.tsx#L93
React Hook useEffect has a missing dependency: 'loadBlogs'. Either include it or remove the dependency array
lint: apps/web/components/admin/dashboard/metric.tsx#L104
React Hook useEffect has missing dependencies: 'address.backend' and 'type'. Either include them or remove the dependency array
lint: apps/web/components/admin/mails/broadcast-editor.tsx#L136
React Hook useCallback has a missing dependency: 'toast'. Either include it or remove the dependency array
lint: apps/web/components/admin/mails/broadcast-editor.tsx#L223
React Hook useCallback has a missing dependency: 'toast'. Either include it or remove the dependency array
lint: apps/web/components/admin/mails/index.tsx#L114
React Hook useEffect has missing dependencies: 'dispatch', 'fetch', and 'toast'. Either include them or remove the dependency array. If 'dispatch' changes too often, find the parent component that defines it and wrap that definition in useCallback