From f7d42236d69c4aed668ef6f4e80dc09eba4b6820 Mon Sep 17 00:00:00 2001 From: alingse Date: Sun, 21 Apr 2024 23:29:59 +0800 Subject: [PATCH] Fix miss makezero bug --- cmd/txqr-tester/app/results_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/txqr-tester/app/results_table.go b/cmd/txqr-tester/app/results_table.go index 84f63c4..4aa1d61 100644 --- a/cmd/txqr-tester/app/results_table.go +++ b/cmd/txqr-tester/app/results_table.go @@ -68,7 +68,7 @@ func (r *ResultsTable) thead() vecty.ComponentOrHTML { } func (r *ResultsTable) tresults() vecty.ComponentOrHTML { - rows := make([]vecty.MarkupOrChild, len(r.results)) + rows := make([]vecty.MarkupOrChild, 0, len(r.results)) for _, res := range r.results { rows = append(rows, tableRow(res)) }