-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable https://github.com/opentripplanner/otp-react-redux/pull/1266 in call taker #1295
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix type
|
||
if ( | ||
syncSortWithDepartArrive && | ||
DepartArriveTypeMap[departArrive as DepartArriveValue] !== sort.type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cast departArrive
wherever you get it from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a useState
. TS doesn't like me typing it at definition time
@daniel-heppner-ibigroup Typescript is giving me some trouble |
ff9ce9e
to
ac2e274
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed it for you please look at my commit
Much cleaner thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description:
Enables
syncSortWithDepartArrive
to work in call taker. Mostly the same codePR Checklist: