File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,6 @@ function Overflow<ItemType = any>(
130130
131131 const [ restReady , setRestReady ] = useState ( false ) ;
132132
133- console . log ( 'render' ) ;
134-
135133 const itemPrefixCls = `${ prefixCls } -item` ;
136134
137135 // Always use the max width to avoid blink
Original file line number Diff line number Diff line change @@ -17,13 +17,11 @@ export function useBatcher() {
1717
1818 // Notify update
1919 const notifyEffectUpdate : NotifyEffectUpdate = callback => {
20- // console.error('Update');
2120 if ( ! updateFuncRef . current ) {
2221 updateFuncRef . current = [ ] ;
2322
2423 const channel = new MessageChannel ( ) ;
2524 channel . port1 . onmessage = ( ) => {
26- // console.log('!!! channel update !!!');
2725 unstable_batchedUpdates ( ( ) => {
2826 updateFuncRef . current . forEach ( fn => {
2927 fn ( ) ;
@@ -34,7 +32,6 @@ export function useBatcher() {
3432 channel . port2 . postMessage ( undefined ) ;
3533 }
3634
37- // console.log('push');
3835 updateFuncRef . current . push ( callback ) ;
3936 } ;
4037
You can’t perform that action at this time.
0 commit comments