diff --git a/backend/src/routes/repos.ts b/backend/src/routes/repos.ts index 67f9b57e..585fc2d3 100644 --- a/backend/src/routes/repos.ts +++ b/backend/src/routes/repos.ts @@ -101,9 +101,7 @@ export function createRepoRoutes(database: Database) { return c.json({ error: 'Repo not found' }, 404) } - await withTransactionAsync(database, async (db) => { - await repoService.deleteRepoFiles(db, id) - }) + await repoService.deleteRepoFiles(database, id) return c.json({ success: true }) } catch (error: any) { diff --git a/frontend/src/components/repo/BranchSwitcher.tsx b/frontend/src/components/repo/BranchSwitcher.tsx index 5c8fcaa6..804b0ade 100644 --- a/frontend/src/components/repo/BranchSwitcher.tsx +++ b/frontend/src/components/repo/BranchSwitcher.tsx @@ -70,7 +70,7 @@ export function BranchSwitcher({ repoId, currentBranch, isWorktree, repoUrl, rep ) : ( )} - {currentBranch} + {currentBranch} diff --git a/frontend/src/components/ui/back-button.tsx b/frontend/src/components/ui/back-button.tsx index 8e306286..172efa1f 100644 --- a/frontend/src/components/ui/back-button.tsx +++ b/frontend/src/components/ui/back-button.tsx @@ -12,7 +12,7 @@ export function BackButton({ to = "/", className = "" }: BackButtonProps) { return (