Skip to content

Commit

Permalink
comment out unused buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
csenet committed Apr 28, 2024
1 parent 83b4a26 commit b262c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/dashboard/src/components/mapview/mapview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ function MapView() {
}
return (
<>
<button onClick={() => mutateTrain({ train: { trainId: "test", positionId: "shinjyuku_up_s1" } })}>Add Train</button>
<button onClick={() => mutateTrain({ train: { trainId: "test", positionId: nextLocation(trains.trains[0])?.positionId } })}>Move</button>
{/* <button onClick={() => mutateTrain({ train: { trainId: "test", positionId: "shinjyuku_up_s1" } })}>Add Train</button>
<button onClick={() => mutateTrain({ train: { trainId: "test", positionId: nextLocation(trains.trains[0])?.positionId } })}>Move</button> */}
<svg width="100%" height="620px">
<Background />
<Rail
Expand Down

0 comments on commit b262c92

Please sign in to comment.