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 {
48
48
const search = urlParamsToObject ( newSearchParams ) ;
49
49
setTimeout ( ( ) => fn ( search ) , 0 ) ;
50
50
51
- console . log ( 'poll' ) ;
52
- console . log ( 'Interval' , this . interval ) ;
53
51
if ( ! this . interval ) {
54
52
this . startPolling ( ) ;
55
53
}
@@ -58,15 +56,12 @@ export class UrlStateController implements UrlStateControllerInterface {
58
56
unsubscribe ( fn : Callback ) : void {
59
57
this . subscribers . delete ( fn ) ;
60
58
61
- console . log ( 'Stop polling' ) ;
62
-
63
59
if ( this . subscribers . size === 0 ) {
64
60
this . stopPolling ( ) ;
65
61
}
66
62
}
67
63
68
64
onSearchParamsChange ( ) : void {
69
- console . log ( this . previousHref , window . location . href ) ;
70
65
if ( window . location . href !== this . previousHref ) {
71
66
this . previousHref = window . location . href ;
72
67
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ function shallowEqual<T>(a: T, b: T) {
71
71
export function useShallowEqualValue < T > ( value : T ) {
72
72
const ref = useRef ( value ) ;
73
73
if ( ! shallowEqual ( value , ref . current ) ) {
74
- console . log ( 'not equal' ) ;
75
74
ref . current = value ;
76
75
}
77
76
return ref . current ;
You can’t perform that action at this time.
0 commit comments