about summary refs log tree commit diff stats
path: root/internal/components/packages.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/components/packages.go')
-rw-r--r--internal/components/packages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/components/packages.go b/internal/components/packages.go
index 9bc3f99..db45302 100644
--- a/internal/components/packages.go
+++ b/internal/components/packages.go
@@ -22,7 +22,7 @@ func Packages(result *index.Result) g.Node {
 			),
 		),
 		TBody(
-			g.Map(result.Hits, func(hit index.DocumentMatch) g.Node {
+			g.MapIter(result.Hits, func(hit index.DocumentMatch) g.Node {
 				if m := convertMatch[nix.Package](hit.Data); m != nil {
 					return packageRow(hit, *m)
 				}