fix: panic rendering search results
1 files changed, 4 insertions(+), 1 deletions(-) M internal/components/results.templ
M internal/components/results.templ => internal/components/results.templ +4 -1
@@ 6,7 6,10 @@ import ( ) func convertMatch[I nix.Importable](m nix.Importable) *I { - i := m.(I) + i, ok := m.(I) + if !ok { + return nil + } return &i }