Tweak errors so that actionable links are rendered

This commit is contained in:
Jon Staab
2025-05-07 15:04:35 -07:00
parent 94a0077b09
commit d57f4747a6
7 changed files with 36 additions and 34 deletions
+2
View File
@@ -15,3 +15,5 @@ export const nsecDecode = (nsec: string) => {
export const day = (seconds: number) => Math.floor(seconds / DAY)
export const daysBetween = (start: number, end: number) => [...range(start, end, DAY)].map(day)
export const ucFirst = (s: string) => s.slice(0, 1).toUpperCase() + s.slice(1)