diff --git a/examples/gno.land/r/demo/users/users.gno b/examples/gno.land/r/demo/users/users.gno index baf50f68927..652957fb6c0 100644 --- a/examples/gno.land/r/demo/users/users.gno +++ b/examples/gno.land/r/demo/users/users.gno @@ -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)