refactor(table): remove uneeded extra args from NewFromTemplate

This commit is contained in:
Andrey Nering
2025-05-29 18:01:52 -03:00
parent fe39af2a4d
commit aa84c7f57b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ func TestNewFromTemplate(t *testing.T) {
return baseStyle.Foreground(lipgloss.Color("252"))
})
bubblesTable := NewFromTemplate(lipglossTable, headers, pokemonData)
bubblesTable := NewFromTemplate(lipglossTable)
golden.RequireEqual(t, []byte(bubblesTable.View()))
}