fix(frontend): resolve lint blockers for gitea frontend-ci
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { AuthGuard } from '@/components/auth-guard';
|
||||
import { ClubSwitcher } from '@/components/club-switcher';
|
||||
import Link from 'next/link';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { LogOut } from 'lucide-react';
|
||||
import { SignOutButton } from '@/components/sign-out-button';
|
||||
|
||||
export default function ProtectedLayout({
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
import { use } from 'react';
|
||||
import Link from 'next/link';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { useTask, useUpdateTask } from '@/hooks/useTasks';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
@@ -25,7 +24,6 @@ const statusColors: Record<string, string> = {
|
||||
|
||||
export default function TaskDetailPage({ params }: { params: Promise<{ id: string }> }) {
|
||||
const resolvedParams = use(params);
|
||||
const router = useRouter();
|
||||
const { data: task, isLoading, error } = useTask(resolvedParams.id);
|
||||
const { mutate: updateTask, isPending } = useUpdateTask();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user