Push on main #621
codeql
on: dynamic
Matrix: analyze
Annotations
38 warnings and 1 notice
Unused import:
src/app/[locale]/(main)/community/[communityId]/events/[eventId]/page.tsx#L10
Unused import { redirect } from '@/i18n/routing'
|
Unused import:
src/components/fields/DatetimeField.tsx#L8
Unused import { Input } from '@/components/ui/input'
|
Unused import:
src/components/fields/InputFieldNoForm.tsx#L1
Unused import specifier useState
|
Unused import:
src/app/[locale]/(user)/(chat)/chat/[conversationId]/page.client.tsx#L8
Unused import specifier ChatBubbleTimestamp
|
Unused import:
src/components/fields/NumberField.tsx#L1
Unused import specifier useEffect
|
Unused import:
src/components/fields/TagsInputField.tsx#L1
Unused import specifier useEffect
|
ESLint:
src/app/[locale]/(main)/users/page.client.tsx#L46
ESLint: React Hook useCallback has a missing dependency: 'getAllCache'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/community/myCommunities.tsx#L49
ESLint: React Hook useCallback has a missing dependency: 'saveAllCache'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/ui/motion/hover-border-gradient.tsx#L57
ESLint: React Hook useEffect has missing dependencies: 'duration' and 'rotateDirection'. Either include them or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(main)/community/[communityId]/events/[eventId]/page.client.tsx#L132
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/[locale]/(main)/community/[communityId]/events/[eventId]/page.client.tsx#L34
ESLint: React Hook React.useEffect has a missing dependency: 'fetchEvents'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(user)/notifications/page.client.tsx#L52
ESLint: React Hook React.useCallback has missing dependencies: 'getAllCache' and 'saveCache'. Either include them or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(user)/notifications/page.client.tsx#L56
ESLint: React Hook React.useEffect has a missing dependency: 'fetchNotifications'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/ui/motion/canvas-reveal-effect.tsx#L280
ESLint: React Hook useMemo has a missing dependency: 'getUniforms'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/ui/motion/3d-card.tsx#L119
ESLint: React Hook useEffect has a missing dependency: 'handleAnimations'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(user)/(chat)/chat/[conversationId]/page.client.tsx#L175
ESLint: React Hook useEffect has a missing dependency: 'fetchConversation'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/ui/motion/text-generate-effect.tsx#L31
ESLint: React Hook useEffect has missing dependencies: 'animate', 'duration', and 'filter'. Either include them or remove the dependency array. Mutable values like 'scope.current' aren't valid dependencies because mutating them doesn't re-render the component. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/community/allCommunities.tsx#L39
ESLint: React Hook useCallback has a missing dependency: 'saveAllCache'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/ui/motion/typewriter-effect.tsx#L45
ESLint: React Hook useEffect has a missing dependency: 'animate'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(user)/(chat)/chat/[conversationId]/page.client.tsx#L195
ESLint: React Hook useEffect has missing dependencies: 'getCache' and 'saveCache'. Either include them or remove the dependency array. (react-hooks/exhaustive-deps)
|
Unused local symbol:
src/app/[locale]/(auth)/forgot-password/page.tsx#L20
Unused constant locale
|
Unused local symbol:
src/app/[locale]/(main)/community/[communityId]/followers/page.tsx#L10
Unused constant locale
|
Unused local symbol:
src/app/[locale]/(main)/community/[communityId]/events/[eventId]/page.client.tsx#L28
Unused constant refreshing
|
Unused local symbol:
src/components/ui/motion/hover-border-gradient.tsx#L60
Unused parameter event
|
Unused local symbol:
src/components/ui/motion/3d-card.tsx#L36
Unused parameter e
|
Unused local symbol:
src/app/[locale]/(main)/gallery/[galleryId]/page.tsx#L64
Unused constant locale
|
Unused local symbol:
src/components/ui/motion/3d-card.tsx#L112
Unused parameter key
|
Unused local symbol:
src/app/[locale]/(user)/user/[profileUrl]/followers/page.tsx#L68
Unused constant locale
|
Unused local symbol:
src/app/[locale]/(main)/users/page.client.tsx#L13
Unused parameter locale
|
Unused local symbol:
src/components/ui/motion/aniamted-tooltip.tsx#L36
Unused parameter idx
|
Unused local symbol:
src/components/header/header-nav.tsx#L83
Unused parameter e
|
Unused local symbol:
src/app/[locale]/(main)/gallery/page.client.tsx#L15
Unused constant setCurrentPage
|
Unused local symbol:
src/components/header/header-nav.tsx#L51
Unused parameter e
|
Unused local symbol:
src/app/[locale]/(user)/user/[profileUrl]/following/page.tsx#L68
Unused constant locale
|
Unused local symbol:
src/app/[locale]/(user)/(chat)/chat/[conversationId]/page.client.tsx#L301
Unused constant removeAttachment
|
Unused local symbol:
src/components/ui/motion/3d-card.tsx#L31
Unused parameter e
|
Unused local symbol:
src/app/[locale]/(main)/gallery/page.client.tsx#L16
Unused constant totalPages
|
Unused local symbol:
src/app/[locale]/(user)/(chat)/chat/[conversationId]/page.client.tsx#L285
Unused constant handleAttachmentChange
|
Missing await for an async function call:
src/components/ui/motion/sparkles.tsx#L43
Missing await for an async function call
|