diff --git a/apps/dokploy/components/dashboard/requests/show-requests.tsx b/apps/dokploy/components/dashboard/requests/show-requests.tsx index a7dea1ad..1b066529 100644 --- a/apps/dokploy/components/dashboard/requests/show-requests.tsx +++ b/apps/dokploy/components/dashboard/requests/show-requests.tsx @@ -1,3 +1,4 @@ +import { DialogAction } from "@/components/shared/dialog-action"; import { Button } from "@/components/ui/button"; import { Card, @@ -11,7 +12,6 @@ import * as React from "react"; import { toast } from "sonner"; import { RequestDistributionChart } from "./request-distribution-chart"; import { RequestsTable } from "./requests-table"; -import { DialogAction } from "@/components/shared/dialog-action"; export type LogEntry = NonNullable< RouterOutputs["settings"]["readStatsLogs"]["data"] diff --git a/apps/dokploy/components/shared/dialog-action.tsx b/apps/dokploy/components/shared/dialog-action.tsx index e2ebd88b..8b6f2847 100644 --- a/apps/dokploy/components/shared/dialog-action.tsx +++ b/apps/dokploy/components/shared/dialog-action.tsx @@ -9,8 +9,6 @@ import { AlertDialogTitle, AlertDialogTrigger, } from "@/components/ui/alert-dialog"; -import { Button } from "../ui/button"; -import { AlertCircle, TrashIcon } from "lucide-react"; interface Props { title?: string; diff --git a/apps/dokploy/server/api/routers/settings.ts b/apps/dokploy/server/api/routers/settings.ts index 30ec711c..f98b981b 100644 --- a/apps/dokploy/server/api/routers/settings.ts +++ b/apps/dokploy/server/api/routers/settings.ts @@ -41,6 +41,7 @@ import { } from "@/server/utils/traefik/web-server"; import { generateOpenApiDocument } from "@dokploy/trpc-openapi"; import { TRPCError } from "@trpc/server"; +import { dump, load } from "js-yaml"; import { scheduleJob, scheduledJobs } from "node-schedule"; import { z } from "zod"; import { appRouter } from "../root"; @@ -53,7 +54,6 @@ import { } from "../services/settings"; import { canAccessToTraefikFiles } from "../services/user"; import { adminProcedure, createTRPCRouter, protectedProcedure } from "../trpc"; -import { dump, load } from "js-yaml"; export const settingsRouter = createTRPCRouter({ reloadServer: adminProcedure.mutation(async () => {