Skip to content

Commit

Permalink
add cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
leohhhn committed Feb 12, 2025
1 parent 25af5b4 commit 6479e4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/gno.land/r/sys/users/store.gno
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ func (u UserData) IsDeleted() bool {
return u.deleted
}

// RenderLink provides a render link to the user page on gnoweb
// ufmt.Sprintf("[%s](%s)", userData.Name(), userData.RenderLink())
func (u UserData) RenderLink() string {
return "/u/" + u.username
}
Expand Down

0 comments on commit 6479e4d

Please sign in to comment.