diff --git a/src/App.tsx b/src/App.tsx index 8095c89..695848b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -617,7 +617,6 @@ export default function App({ repoPath }: { repoPath: string }) { const launchers = repo?.mergedConfig.launchers ?? []; const hooksMap: HooksMap = repo?.mergedConfig.hooks ?? {}; - const hookCount = Object.keys(hooksMap).filter((e) => (hooksMap[e as HookEvent]?.length ?? 0) > 0).length; return (
@@ -644,35 +643,32 @@ export default function App({ repoPath }: { repoPath: string }) { @@ -681,6 +677,8 @@ export default function App({ repoPath }: { repoPath: string }) { {error &&
{error}
} {view === "repository" && ( + <> +

{t.tabRepository}

{t.heroTitle}

@@ -722,18 +720,26 @@ export default function App({ repoPath }: { repoPath: string }) {
+ )} {view === "worktrees" && ( <> {!repo ? ( -
-
-

{t.loading}

-
-
+ <> +

{t.tabWorktrees}

+
+
+

{t.loading}

+
+
+ ) : (
+
+

{t.tabWorktrees}

+
+