Format provider pill optimization

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-07-07 16:15:05 +00:00
1 parent cb1d13db85
commit 259ff4173f
1 file changed
+1 -3
@@ -59,9 +59,7 @@ function useSidebarProviderUpdatePillTransition(
? providerUpdatePillProgressStyle(displayedView.tone)
: null;
const showDismissProgress =
dismissAfterVisibleMs !== undefined &&
dismissProgressStyle !== null &&
exitingKey !== viewKey;
dismissAfterVisibleMs !== undefined && dismissProgressStyle !== null && exitingKey !== viewKey;
const startExit = useCallback(
(key: string, nextView: ProviderUpdateSidebarPillView | null, dismissKey?: string) => {