File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ const hiplaApiMiddleware = () => {
11
11
return store . dispatch ( updateResults ( [ ] ) ) ;
12
12
}
13
13
14
- console . log ( query , datasets ) ;
14
+ console . log ( 'query:' , query ) ;
15
+ console . log ( 'datasets:' , datasets ) ;
15
16
return request ( searchUrl )
16
17
. query ( { q : query } )
17
18
. query ( { dataset : datasets } )
@@ -27,7 +28,7 @@ const hiplaApiMiddleware = () => {
27
28
return store => next => action => {
28
29
switch ( action . type ) {
29
30
case 'FETCH_RESULTS' :
30
- console . log ( 'FETCH_RESULTS' ) ;
31
+ console . log ( 'action: FETCH_RESULTS' ) ;
31
32
32
33
store . dispatch ( startSpinner ) ;
33
34
next ( action ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export const INITIAL_STATE = {
5
5
} ;
6
6
7
7
const search = ( state = INITIAL_STATE , action ) => {
8
- console . log ( state , action ) ;
8
+ // console.log(state, action);
9
9
switch ( action . type ) {
10
10
case 'UPDATE_QUERY' :
11
11
return { ...state , query : action . query || '' } ;
You can’t perform that action at this time.
0 commit comments