diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 1c5626092..10c76f541 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -875,7 +875,9 @@ async function scanImportFolder(rootPath: string, mode: "project" | "workspace") ); return { path: rootPath, - repos: repos.filter((repo): repo is GitRepoScanResult => repo !== null).sort((a, b) => a.name.localeCompare(b.name)), + repos: repos + .filter((repo): repo is GitRepoScanResult => repo !== null) + .sort((a, b) => a.name.localeCompare(b.name)), }; } diff --git a/frontend/src/renderer/components/ImportProjectDialog.tsx b/frontend/src/renderer/components/ImportProjectDialog.tsx index 93f3831c3..4f468eb26 100644 --- a/frontend/src/renderer/components/ImportProjectDialog.tsx +++ b/frontend/src/renderer/components/ImportProjectDialog.tsx @@ -1,15 +1,5 @@ import * as Dialog from "@radix-ui/react-dialog"; -import { - ArrowLeft, - CheckCircle2, - Folder, - FolderPlus, - GitBranch, - Package, - RefreshCw, - X, - XCircle, -} from "lucide-react"; +import { ArrowLeft, CheckCircle2, Folder, FolderPlus, GitBranch, Package, RefreshCw, X, XCircle } from "lucide-react"; import { useEffect, useMemo, useState } from "react"; import type React from "react"; import { aoBridge } from "../lib/bridge"; @@ -175,7 +165,10 @@ export function ImportProjectDialog({ error, isImporting, onOpenChange, onSubmit