about summary refs log tree commit diff stats
path: root/components/elements.go
diff options
context:
space:
mode:
Diffstat (limited to 'components/elements.go')
-rw-r--r--components/elements.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/elements.go b/components/elements.go
index baffba6..f4e347d 100644
--- a/components/elements.go
+++ b/components/elements.go
@@ -5,6 +5,6 @@ import (
 	. "github.com/maragudk/gomponents/html"
 )
 
-func InputHidden(name, value string, children ...g.Node) g.NodeFunc {
+func InputHidden(name, value string, children ...g.Node) g.Node {
 	return Input(Type("hidden"), Name(name), Value(value), g.Group(children))
 }