mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-28 12:36:41 +07:00
user can logout
This commit is contained in:
parent
e19001ca82
commit
8da254ff9b
9 changed files with 144 additions and 93 deletions
|
@ -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 }]);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue