Skip to content

Commit

Permalink
Remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Oct 1, 2024
1 parent a1ba5ae commit 6a4132c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/queries/nodes/WebOverview/WebOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ const formatSeconds = (x: number): string => {
}
// if over 1 second, show 3 significant figures
if (x >= 1) {
return `${x.toPrecision(3)} s`
return `${x.toPrecision(3)}s`
}

// show the number of milliseconds
return `${x * 1000} ms`
return `${x * 1000}ms`
}

const formatUnit = (x: number, options?: { precise?: boolean }): string => {
Expand Down

0 comments on commit 6a4132c

Please sign in to comment.