Skip to content

Commit e4f6e5e

Browse files
[autofix.ci] apply automated fixes
1 parent 96d1abb commit e4f6e5e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/dokploy/components/dashboard/application/domains/show-domains.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ export const ShowDomains = ({ id, type }: Props) => {
106106
);
107107
const [viewMode, setViewMode] = useState<"grid" | "table">(() => {
108108
if (typeof window !== "undefined") {
109-
return (localStorage.getItem("domains-view-mode") as "grid" | "table") ?? "grid";
109+
return (
110+
(localStorage.getItem("domains-view-mode") as "grid" | "table") ??
111+
"grid"
112+
);
110113
}
111114
return "grid";
112115
});

0 commit comments

Comments
 (0)