Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@a6wu Pretty big refactor of Shuttle Card out of Home.js. Could still use some work to update the logic to allow a different number of shuttles than just two and other features, but I think it works as well or better than the old one. It is a bit different because of a few reasons:
this.state.currentPosition
changes lat/lng. Depending on how agressively you are tracking the user's location in the future we might want to meter/debounce this but for now it's pretty cool.setInterval()
for a timer which seems to work very well, instead of the old mixin.pretty much closes #30