TypeScript
fix(web): compact toggle shows the token count again (#25818)
Theo Browneb333c175baf9
diff --git a/apps/web/src/components/chat/ComposerPrimaryActions.tsx b/apps/web/src/components/chat/ComposerPrimaryActions.tsxindex e2c2a95747c..35af48b4de4 100644--- a/apps/web/src/components/chat/ComposerPrimaryActions.tsx+++ b/apps/web/src/components/chat/ComposerPrimaryActions.tsx@@ -378,8 +378,8 @@ export const ComposerPrimaryActions = memo(function ComposerPrimaryActions({}><Minimize2Icon aria-hidden="true" />- {/* The token count lives in the tooltip so the permission label keeps its room. */}- {keepFullHistory ? "Keep full" : "Compact next"}+ {keepFullHistory ? "Keep" : "Compact"}+ <span className="text-muted-foreground">{compactTokens}</span></TooltipTrigger><TooltipPopup><div>