user can logout

This commit is contained in:
muerwre 2018-08-28 17:52:32 +07:00
parent e19001ca82
commit 8da254ff9b
9 changed files with 144 additions and 93 deletions

View file

@ -48,7 +48,6 @@ export class Router {
//
pushWaypointOnClick = ({ latlng: { lat, lng } }) => {
const waypoints = this.router.getWaypoints().filter(({ latLng }) => !!latLng);
console.log('push', waypoints);
this.router.setWaypoints([...waypoints, { lat, lng }]);
};