Skip to content

Commit

Permalink
Fix test case errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shwetadeshmukh committed Sep 6, 2024
1 parent e60fdbe commit 4ff3b5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion samples/transit-roadbook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function createRoutesTable(response: woosmap.map.transit.TransitRouteResponse) {
return `${hours}h${remainingMinutes}m`;
}
}
function formatTimeNumberOnly(seconds: number): string {
function formatTimeNumberOnly(seconds: number): number {
const minutes = Math.round(seconds / 60);
return minutes;
}
Expand Down
1 change: 0 additions & 1 deletion samples/transit-roadbook/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ select {
width: 22px;
background: none;
border: none;
vertical-align: middle;
pointer-events: all;
cursor: pointer;

Expand Down

0 comments on commit 4ff3b5d

Please sign in to comment.