fix: resolve linting errors

- Remove unused parameters in logout route
- Remove unused AnimatePresence import
- Remove unused handleLogout function
This commit is contained in:
2025-10-19 21:48:43 +02:00
parent c7bc0ecb1d
commit 45ab058643
2 changed files with 3 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from 'next/server';
export async function POST(request: NextRequest) {
export async function POST() {
try {
// Simple logout - just return success
// The client will handle clearing the session storage
@@ -16,7 +16,7 @@ export async function POST(request: NextRequest) {
}
}
);
} catch (error) {
} catch {
return new NextResponse(
JSON.stringify({ error: 'Logout failed' }),
{ status: 500, headers: { 'Content-Type': 'application/json' } }