Push on main #390
codeql
on: dynamic
Matrix: analyze
Annotations
17 warnings and 1 notice
Comma expression:
src/app/[locale]/(main)/map/page.client.tsx#L206
Comma expression
|
Comma expression:
src/app/[locale]/(main)/map/page.client.tsx#L235
Comma expression
|
Comma expression:
src/app/[locale]/(main)/map/page.client.tsx#L261
Comma expression
|
ESLint:
src/components/map/polyline.tsx#L129
ESLint: React Hook useImperativeHandle has a missing dependency: 'polyline'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/circle.tsx#L87
ESLint: React Hook useEffect has a missing dependency: 'circle'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/circle.tsx#L69
ESLint: React Hook useEffect has a missing dependency: 'circle'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/polygon.tsx#L131
ESLint: React Hook useImperativeHandle has a missing dependency: 'polygon'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
Unused local symbol:
src/app/[locale]/(main)/users/page.tsx#L7
Unused parameter locale
|
Unused local symbol:
src/components/ui/calendar.tsx#L58
Unused parameter props
|
Unused local symbol:
src/app/[locale]/(main)/map/page.client.tsx#L23
Unused constant filters
|
Unused local symbol:
src/app/[locale]/(main)/gallery/page.client.tsx#L12
Unused constant setCurrentPage
|
Unused local symbol:
src/app/[locale]/(user)/user/[profileUrl]/following/page.tsx#L21
Unused parameter locale
|
Unused local symbol:
src/app/[locale]/(user)/user/[profileUrl]/followers/page.tsx#L21
Unused parameter locale
|
Unused local symbol:
src/app/[locale]/(account)/account/page.tsx#L17
Unused parameter locale
|
Unused local symbol:
src/app/[locale]/(main)/gallery/page.client.tsx#L13
Unused constant totalPages
|
Unused local symbol:
src/components/ui/calendar.tsx#L57
Unused parameter props
|
Unused local symbol:
src/app/[locale]/(main)/map/page.client.tsx#L23
Unused constant setFilters
|
Signature mismatch:
src/app/[locale]/(account)/account/idcard/page.client.jsx#L130
Argument type { method: string, body: FormData } is not assignable to parameter type RequestInit \| undefined
...
Type FormData is not assignable to type BodyInit \| null \| undefined
Type FormData is not assignable to type
ReadableStream\<any\> \| Blob \| ArrayBufferView \| ArrayBuffer \| FormData \| URLSearchParams \| string
Type FormData is not assignable to type string
|