mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Reduce usage of strformat, minor perf improvement
This commit is contained in:
parent
92a6eb0339
commit
85316f8f8d
6 changed files with 37 additions and 32 deletions
|
|
@ -108,7 +108,7 @@ proc renderProfile*(profile: var Profile; prefs: Prefs; path: string): VNode =
|
|||
renderBanner(profile.user.banner)
|
||||
|
||||
let sticky = if prefs.stickyProfile: " sticky" else: ""
|
||||
tdiv(class=(&"profile-tab{sticky}")):
|
||||
tdiv(class=("profile-tab" & sticky)):
|
||||
renderUserCard(profile.user, prefs)
|
||||
if profile.photoRail.len > 0:
|
||||
renderPhotoRail(profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue