Skip to content

Commit e85b2fd

Browse files
committed
chore: lint
1 parent da5bfbc commit e85b2fd

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/app/api/domain/config/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export async function GET() {
55
try {
66
const caddyConfig = await getCaddyConfig();
77
return NextResponse.json(caddyConfig);
8-
} catch (err) {
8+
} catch {
99
return NextResponse.json(
1010
{ error: 'Failed to retrieve Caddy configuration' },
1111
{ status: 500 }

src/app/api/user/profile/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export async function GET(req: NextRequest) {
88
return NextResponse.json({ error: "Unauthorized!" }, { status: 401 });
99
}
1010
return NextResponse.json({ data: user });
11-
} catch (err) {
11+
} catch {
1212
return NextResponse.json(
1313
{ error: "Failed to retrieve user profile." },
1414
{ status: 500 }

src/components/proxies/proxies.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DomainWithCheckResults } from "@/app/api/domain/domain-types";
22
import { Check, X } from "lucide-react";
3-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../ui/tooltip";
3+
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
44

55
type Props = {
66
proxyData: {

src/hooks/domains/domain.hooks.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { DomainWithCheckResults } from "@/app/api/domain/domain-types";
22
import apiClient from "@/lib/api-client";
3-
import { User } from "@/schemas/user/user.schema";
43
import { useQuery } from "@tanstack/react-query";
54

65
export const getRegisteredDomains = async (): Promise<{

0 commit comments

Comments
 (0)