feat: store data separate from search index
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/components/packages.go → internal/components/packages.go
@@ -23,7 +23,7 @@ ), ), TBody( g.MapIter(result.Hits, func(hit index.DocumentMatch) g.Node { - if m := convertMatch[nix.Package](hit.Data); m != nil { + if m, ok := hit.Data.(*nix.Package); ok { return packageRow(hit, *m) }