Format provider pill optimization
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
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) => {
|
||||
|
||||
Reference in new issue
Block a user