fix(web): stop exporting formatDuration from runs settings page
Next.js App Router rejects non-page exports from page modules; duration formatting stays a local helper. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a6898617b5
commit
863d2d9d44
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ function formatTimestamp(when: Date | string): string {
|
|||
* for in-flight runs (no `finishedAt`). Below a minute we show seconds
|
||||
* with a single decimal so quick MCP calls don't all look like "0s".
|
||||
*/
|
||||
export function formatDuration(
|
||||
function formatDuration(
|
||||
startedAt: Date | string,
|
||||
finishedAt: Date | string | null,
|
||||
): string {
|
||||
|
|
|
|||
Loading…
Reference in a new issue