1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-22 01:45:22 +01:00

fixed more stupid code

This commit is contained in:
Mitarashi 2022-01-14 20:14:06 +02:00
parent 90eae2669b
commit a6bd05bca6

View File

@ -357,6 +357,6 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
text "Show this thread" text "Show this thread"
proc renderEmbeddedTweet*(tweet: Tweet; cfg: Config; req: Request; prefs: Prefs; path: string): VNode = proc renderEmbeddedTweet*(tweet: Tweet; cfg: Config; req: Request; prefs: Prefs; path: string): VNode =
return buildHtml(tdiv(class="tweet-embed")): buildHtml(tdiv(class="tweet-embed")):
renderHead(prefs, cfg, req) renderHead(prefs, cfg, req)
renderTweet(tweet, prefs, path) renderTweet(tweet, prefs, path, mainTweet=true)