Skip to content

Commit

Permalink
chore: fixup
Browse files Browse the repository at this point in the history
Signed-off-by: moul <94029+moul@users.noreply.github.com>
  • Loading branch information
moul committed Sep 24, 2024
1 parent a0be035 commit 5c3524d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/gno.land/r/demo/users/users.gno
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,7 @@ func Render(fullPath string) string {
func renderHome(path string) string {
doc := ""

p := pager.NewPager(&name2User)
page := p.MustGetPageByPath(path)
page := pager.NewPager(&name2User).MustGetPageByPath(path)

for _, item := range page.Items {
user := item.Value.(*users.User)
Expand Down

0 comments on commit 5c3524d

Please sign in to comment.