diff --git a/frontend/src/components/repo/BranchSwitcher.tsx b/frontend/src/components/repo/BranchSwitcher.tsx index e4d36306..6651e0c5 100644 --- a/frontend/src/components/repo/BranchSwitcher.tsx +++ b/frontend/src/components/repo/BranchSwitcher.tsx @@ -7,7 +7,7 @@ import { DropdownMenuSeparator, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; -import { GitBranch, Check, Plus, GitCommit } from "lucide-react"; +import { GitBranch, Check, Plus, GitCommit, Loader2 } from "lucide-react"; import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query"; import { listBranches, switchBranch } from "@/api/repos"; import { useGitStatus } from "@/api/git"; @@ -61,9 +61,14 @@ export function BranchSwitcher({ repoId, currentBranch, isWorktree, repoUrl, rep