From e4f6e5ea54dbeb30d2137429d052cf37c5ee8715 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 4 Apr 2026 02:48:22 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../dashboard/application/domains/show-domains.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/application/domains/show-domains.tsx b/apps/dokploy/components/dashboard/application/domains/show-domains.tsx index bde48ceaf..dc0c711bf 100644 --- a/apps/dokploy/components/dashboard/application/domains/show-domains.tsx +++ b/apps/dokploy/components/dashboard/application/domains/show-domains.tsx @@ -106,7 +106,10 @@ export const ShowDomains = ({ id, type }: Props) => { ); const [viewMode, setViewMode] = useState<"grid" | "table">(() => { if (typeof window !== "undefined") { - return (localStorage.getItem("domains-view-mode") as "grid" | "table") ?? "grid"; + return ( + (localStorage.getItem("domains-view-mode") as "grid" | "table") ?? + "grid" + ); } return "grid"; });