Skip to content

try and fix caching issue for login

Sign in for the full log view
GitHub Actions / Qodana for JS completed Jun 29, 2024 in 0s

16 new problems found by Qodana for JS

Qodana for JS

16 new problems were found

Inspection name Severity Problems
Unused local symbol 🔶 Warning 9
Unused import 🔶 Warning 3
Signature mismatch ◽️ Notice 4

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 2 in src/app/[locale]/(user)/notifications/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier MegaphoneIcon

Check warning on line 2 in src/app/[locale]/(auth)/login/page.client.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useEffect

Check warning on line 8 in src/components/account/views/frontpage.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused  
import { Checkbox } from '@/components/ui/checkbox'

Check notice on line 130 in src/app/[locale]/(account)/account/idcard/page.client.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

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

Check notice on line 14 in src/app/api/user/logoutUser/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 15 in src/app/api/user/logoutUser/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type  
{  
path: string,  
expires: Date,  
domain: string,  
httpOnly: boolean,  
secure: boolean  
}
is not assignable to parameter type any

Check notice on line 13 in src/app/api/user/logoutUser/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check warning on line 14 in src/utils/server-api/system/getSessionCookie.ts

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused function getSessionCookie

Check warning on line 58 in src/components/ui/calendar.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter props

Check warning on line 18 in src/app/[locale]/(account)/account/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter locale

Check warning on line 12 in src/app/[locale]/(main)/gallery/page.client.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused constant setCurrentPage

Check warning on line 21 in src/app/[locale]/(user)/user/[profileUrl]/following/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter locale

Check warning on line 21 in src/app/[locale]/(user)/user/[profileUrl]/followers/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter locale

Check warning on line 19 in src/app/[locale]/(main)/users/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter locale

Check warning on line 13 in src/app/[locale]/(main)/gallery/page.client.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused constant totalPages

Check warning on line 57 in src/components/ui/calendar.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter props