fixed user comments UI

This commit is contained in:
orangix
2023-08-15 20:57:04 +02:00
parent 1c5479511b
commit 52dbf0195d
4 changed files with 38 additions and 40 deletions

View File

@@ -1,7 +1,6 @@
package pages
import (
"fmt"
"strconv"
"codeberg.org/rimgo/rimgo/utils"
@@ -97,8 +96,6 @@ func HandleUserComments(c *fiber.Ctx) error {
return err
}
fmt.Println(comments[0].Post.Cover.Url) //FIXME:debug
return c.Render("userComments", fiber.Map{
"user": user,
"comments": comments,