diff --git a/src/ui/desktop/apps/host-manager/HostManagerEditor.tsx b/src/ui/desktop/apps/host-manager/HostManagerEditor.tsx index 5cc3af24..0dddf5af 100644 --- a/src/ui/desktop/apps/host-manager/HostManagerEditor.tsx +++ b/src/ui/desktop/apps/host-manager/HostManagerEditor.tsx @@ -219,7 +219,9 @@ function QuickActionItem({ placeholder={t("hosts.quickActionName")} value={quickAction.name} onChange={(e) => onUpdate(e.target.value, quickAction.snippetId)} - onBlur={(e) => onUpdate(e.target.value.trim(), quickAction.snippetId)} + onBlur={(e) => + onUpdate(e.target.value.trim(), quickAction.snippetId) + } className="flex-1" /> @@ -1896,7 +1898,9 @@ export function HostManagerEditor({ placeholder="proxy.example.com" {...field} onBlur={(e) => { - field.onChange(e.target.value.trim()); + field.onChange( + e.target.value.trim(), + ); field.onBlur(); }} /> @@ -1949,7 +1953,9 @@ export function HostManagerEditor({ placeholder={t("hosts.username")} {...field} onBlur={(e) => { - field.onChange(e.target.value.trim()); + field.onChange( + e.target.value.trim(), + ); field.onBlur(); }} /> @@ -2833,7 +2839,9 @@ export function HostManagerEditor({ placeholder="Variable name" {...field} onBlur={(e) => { - field.onChange(e.target.value.trim()); + field.onChange( + e.target.value.trim(), + ); field.onBlur(); }} /> @@ -2851,7 +2859,9 @@ export function HostManagerEditor({ placeholder="Value" {...field} onBlur={(e) => { - field.onChange(e.target.value.trim()); + field.onChange( + e.target.value.trim(), + ); field.onBlur(); }} /> @@ -3132,7 +3142,9 @@ export function HostManagerEditor({ ); }} onBlur={(e) => { - endpointHostField.onChange(e.target.value.trim()); + endpointHostField.onChange( + e.target.value.trim(), + ); endpointHostField.onBlur(); }} /> diff --git a/src/ui/desktop/apps/host-manager/HostManagerViewer.tsx b/src/ui/desktop/apps/host-manager/HostManagerViewer.tsx index 70f2b136..67c56408 100644 --- a/src/ui/desktop/apps/host-manager/HostManagerViewer.tsx +++ b/src/ui/desktop/apps/host-manager/HostManagerViewer.tsx @@ -583,7 +583,6 @@ export function HostManagerViewer({ onEditHost }: SSHManagerHostViewerProps) { } }; - const filteredAndSortedHosts = useMemo(() => { let filtered = hosts; diff --git a/src/ui/desktop/navigation/LeftSidebar.tsx b/src/ui/desktop/navigation/LeftSidebar.tsx index 0f0d98e4..dbff9dfc 100644 --- a/src/ui/desktop/navigation/LeftSidebar.tsx +++ b/src/ui/desktop/navigation/LeftSidebar.tsx @@ -386,7 +386,7 @@ export function LeftSidebar({ case "tags": const tags = Array.isArray(h.tags) ? h.tags : []; const hasMatchingTag = tags.some((tag) => - tag.toLowerCase().includes(value) + tag.toLowerCase().includes(value), ); if (!hasMatchingTag) return false; break;