Correct typo in get path
This commit is contained in:
parent
2dfc410079
commit
a7bbb4766d
|
@ -20,7 +20,7 @@ import { ERROR } from 'store/constants';
|
|||
* @return {Array} Notes
|
||||
*/
|
||||
function getNotes( state, query = {} ) {
|
||||
return get( state, [ 'notes' ], getJsonString( query ), [] );
|
||||
return get( state, [ 'notes', getJsonString( query ) ], [] );
|
||||
}
|
||||
|
||||
export default {
|
||||
|
|
Loading…
Reference in New Issue