Created
January 13, 2017 14:42
-
-
Save justinvdm/b7d4af043c4f8a53307479cdb2719971 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/containers/CallNoteListContainer.js b/src/containers/CallNoteListContainer.js | |
index c9a4dad..65759a4 100644 | |
--- a/src/containers/CallNoteListContainer.js | |
+++ b/src/containers/CallNoteListContainer.js | |
@@ -7,7 +7,7 @@ import { chooseCallNote } from 'src/actions/callNotes'; | |
// TODO handle call notes without activities once we have designs for this | |
-export const mapStateToProps = (state, { activityId } = {}) => { | |
+export const mapStateToProps = (state, { activityId }) => { | |
let callNotes = getCallNotes(state); | |
if (!isUndefined(activityId)) callNotes = filter(callNotes, { callActivity: activityId }); | |
return { callNotes }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment