feat: store data separate from search index
1 file changed, 4 insertions(+), 4 deletions(-)
changed files
M internal/components/detail.go → internal/components/detail.go
@@ -8,10 +8,10 @@ ) func Detail(thing nix.Importable) g.Node { switch t := thing.(type) { - case nix.Option: - return OptionDetail(t) - case nix.Package: - return PackageDetail(t) + case *nix.Option: + return OptionDetail(*t) + case *nix.Package: + return PackageDetail(*t) default: return nil }