Skip to content

Instantly share code, notes, and snippets.

@justinvdm
Created September 30, 2016 18:42
Show Gist options
  • Save justinvdm/9c7402264febee54f4171a6784b289d0 to your computer and use it in GitHub Desktop.
Save justinvdm/9c7402264febee54f4171a6784b289d0 to your computer and use it in GitHub Desktop.
diff --git a/src/containers/JourneyContainer.js b/src/containers/JourneyContainer.js
index 3cf34db..2bef6f3 100644
--- a/src/containers/JourneyContainer.js
+++ b/src/containers/JourneyContainer.js
@@ -7,7 +7,7 @@ import { getNextScheduledCall } from 'src/stores/helpers';
export default connect(state => ({
- nextScheduledCallDate: getNextScheduledCall(state),
+ nextScheduledCallDate: (getNextScheduledCall(state) || 0).callTime,
}), {
onNextScheduledCallPress: changeNavToScheduledCallsTab,
onCallPress: openCall,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment