File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ export class UrlStateController implements UrlStateControllerInterface {
4848 const search = urlParamsToObject ( newSearchParams ) ;
4949 setTimeout ( ( ) => fn ( search ) , 0 ) ;
5050
51- console . log ( 'poll' ) ;
52- console . log ( 'Interval' , this . interval ) ;
5351 if ( ! this . interval ) {
5452 this . startPolling ( ) ;
5553 }
@@ -58,15 +56,12 @@ export class UrlStateController implements UrlStateControllerInterface {
5856 unsubscribe ( fn : Callback ) : void {
5957 this . subscribers . delete ( fn ) ;
6058
61- console . log ( 'Stop polling' ) ;
62-
6359 if ( this . subscribers . size === 0 ) {
6460 this . stopPolling ( ) ;
6561 }
6662 }
6763
6864 onSearchParamsChange ( ) : void {
69- console . log ( this . previousHref , window . location . href ) ;
7065 if ( window . location . href !== this . previousHref ) {
7166 this . previousHref = window . location . href ;
7267
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ function shallowEqual<T>(a: T, b: T) {
7171export function useShallowEqualValue < T > ( value : T ) {
7272 const ref = useRef ( value ) ;
7373 if ( ! shallowEqual ( value , ref . current ) ) {
74- console . log ( 'not equal' ) ;
7574 ref . current = value ;
7675 }
7776 return ref . current ;
You can’t perform that action at this time.
0 commit comments