mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Refactor routing code
This commit is contained in:
parent
7bdf5b0f76
commit
014f01bf88
7 changed files with 253 additions and 203 deletions
|
|
@ -2,7 +2,7 @@ import strutils, strformat
|
|||
import karax/[karaxdsl, vdom, vstyles]
|
||||
|
||||
import tweet, timeline, renderutils
|
||||
import ../types, ../utils, ../formatters
|
||||
import ".."/[types, utils, formatters]
|
||||
|
||||
proc renderStat(num, class: string; text=""): VNode =
|
||||
let t = if text.len > 0: text else: class
|
||||
|
|
|
|||
Loading…
Reference in a new issue