mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: lint
This commit is contained in:
parent
0c8c0844b1
commit
d1610855bb
@ -6,13 +6,13 @@ import {
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from "@/components/ui/select";
|
||||
import { api } from "@/utils/api";
|
||||
import { Cpu, HardDrive, Loader2, MemoryStick, Network } from "lucide-react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { ContainerBlockChart } from "./container-block-chart";
|
||||
import { ContainerCPUChart } from "./container-cpu-chart";
|
||||
import { ContainerMemoryChart } from "./container-memory-chart";
|
||||
import { ContainerNetworkChart } from "./container-network-chart";
|
||||
import { api } from "@/utils/api";
|
||||
|
||||
const REFRESH_INTERVALS = {
|
||||
"5000": "5 Seconds",
|
||||
|
@ -5,6 +5,7 @@ import {
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from "@/components/ui/select";
|
||||
import { api } from "@/utils/api";
|
||||
import { Clock, Cpu, HardDrive, Loader2, MemoryStick } from "lucide-react";
|
||||
import type React from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
@ -12,7 +13,6 @@ import { CPUChart } from "./cpu-chart";
|
||||
import { DiskChart } from "./disk-chart";
|
||||
import { MemoryChart } from "./memory-chart";
|
||||
import { NetworkChart } from "./network-chart";
|
||||
import { api } from "@/utils/api";
|
||||
|
||||
const REFRESH_INTERVALS = {
|
||||
"5000": "5 Seconds",
|
||||
|
@ -22,13 +22,13 @@ import {
|
||||
} from "@dokploy/server";
|
||||
import { TRPCError } from "@trpc/server";
|
||||
import { eq } from "drizzle-orm";
|
||||
import { z } from "zod";
|
||||
import {
|
||||
adminProcedure,
|
||||
createTRPCRouter,
|
||||
protectedProcedure,
|
||||
publicProcedure,
|
||||
} from "../trpc";
|
||||
import { z } from "zod";
|
||||
|
||||
export const adminRouter = createTRPCRouter({
|
||||
one: adminProcedure.query(async ({ ctx }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user