Skip to content

Commit

Permalink
fix: strings.Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
x1unix committed Nov 27, 2024
1 parent 1acef25 commit 0bc6871
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/gno.land/r/demo/boards2/board.gno
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ func (board *Board) DeleteThread(pid PostID) {
}

func (board *Board) Render(p Pagination) string {
sb := new(strings.Builder)
var sb strings.Builder

sb.WriteString("\\[")
sb.WriteString(newLink("post", board.GetPostFormURL()))
sb.WriteString("]\n\n")
Expand Down

0 comments on commit 0bc6871

Please sign in to comment.