small fix

This commit is contained in:
maddalax 2024-10-20 07:56:26 -05:00
parent c6c05193c6
commit 19b700b676

View file

@ -1,7 +1,6 @@
package ui
import (
"chat/components"
"github.com/maddalax/htmgo/framework/h"
)
@ -25,7 +24,7 @@ func CenteredForm(props CenteredFormProps) *h.Element {
h.Class("flex flex-col gap-4"),
h.Children(props.Children...),
// Error message
components.FormError(""),
FormError(""),
// Submit button at the bottom
SubmitButton(props.SubmitText),
),