fix: remove duplicate zapTitle condition in DynamicWindowTitle

Removed duplicate zapTitle if-else branch at line 870 that was causing
lint error. The first zapTitle condition at line 803 handles all cases,
making the second occurrence unreachable.
This commit is contained in:
Claude
2026-01-18 21:45:38 +00:00
parent 995f3e309e
commit d649124b09

View File

@@ -867,10 +867,6 @@ function useDynamicTitle(window: WindowInstance): WindowTitleData {
title = chatTitle;
icon = getCommandIcon("chat");
tooltip = rawCommand;
} else if (zapTitle) {
title = zapTitle;
icon = getCommandIcon("zap");
tooltip = rawCommand;
} else {
title = staticTitle || appId.toUpperCase();
tooltip = rawCommand;