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"; });