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