diff --git a/framework/h/tag.go b/framework/h/tag.go index f18acca..7fe9961 100644 --- a/framework/h/tag.go +++ b/framework/h/tag.go @@ -181,18 +181,6 @@ func IterMap[T any](m map[string]T, mapper func(key string, value T) *Element) * } func List[T any](items []T, mapper func(item T, index int) *Element) *Element { - - values := map[string]string{ - "key": "value", - } - - IterMap(values, func(key string, value string) *Element { - return Div( - Text(key), - Text(value), - ) - }) - node := &Element{ tag: "", children: make([]Ren, len(items)),