fix plot (but it's still broken in some other way)

This commit is contained in:
xenia 2022-12-03 11:47:45 -05:00
parent 342b778f2c
commit 1579a46ba4
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
(for* ([day (in-range 1 26)] [level (in-range 1 3)])
(match (hash-ref* val (list 'completion_day_level day level 'get_star_ts) #f)
[#f (void)]
[(app string->number (? number? time))
[(? number? time)
(hash-update! timeline time (lambda (v) (cons (tl-entry mid day level) v)) '())])))
(define timestamps (sort (hash-keys timeline) <))