Skip to content

Commit

Permalink
refactor(map-view.js): remove unused reject
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Jul 27, 2021
1 parent a97c500 commit 6b362bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ export default {
*/
calculateDirections () {
const context = this
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
const places = context.getFilledPlaces()

if (places.length > 1 || context.$store.getters.mode === constants.modes.roundTrip) {
Expand Down

0 comments on commit 6b362bb

Please sign in to comment.