fix: panic rendering results
1 file changed, 3 insertions(+), 1 deletion(-)
changed files
M internal/components/packages.templ → internal/components/packages.templ
@@ -16,7 +16,9 @@ </tr> </thead> <tbody> for _, hit := range result.Hits { - @packageRow(hit.Data.(nix.Package)) + if m := convertMatch[nix.Package](hit.Data); m != nil { + @packageRow(*m) + } } </tbody> </table>