Skip to content

Commit

Permalink
reset date and time when ending call
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Oct 19, 2023
1 parent ec07eb9 commit cb4ab89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/actions/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export function resetForm(full = false) {
// If fully resetting form, also clear the active search, from/to
// locations, and query params.
dispatch(clearActiveSearch())
dispatch(settingQueryParam({ departArrive: 'NOW' }))
dispatch(setLocation({ location: null, locationType: 'from' }))
dispatch(setLocation({ location: null, locationType: 'to' }))
// Get query params. Delete everything except sessionId.
Expand Down

0 comments on commit cb4ab89

Please sign in to comment.