about summary refs log tree commit diff stats
path: root/internal/components/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/components/options.go')
-rw-r--r--internal/components/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/components/options.go b/internal/components/options.go
index af6c73f..1d01784 100644
--- a/internal/components/options.go
+++ b/internal/components/options.go
@@ -21,7 +21,7 @@ func Options(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.Option](hit.Data); m != nil {
 					return optionRow(hit, *m)
 				}