mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 03:02:56 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -106,7 +106,10 @@ export const ShowDomains = ({ id, type }: Props) => {
|
|||||||
);
|
);
|
||||||
const [viewMode, setViewMode] = useState<"grid" | "table">(() => {
|
const [viewMode, setViewMode] = useState<"grid" | "table">(() => {
|
||||||
if (typeof window !== "undefined") {
|
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";
|
return "grid";
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user