small fix
This commit is contained in:
parent
c6c05193c6
commit
19b700b676
1 changed files with 1 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"chat/components"
|
|
||||||
"github.com/maddalax/htmgo/framework/h"
|
"github.com/maddalax/htmgo/framework/h"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -25,7 +24,7 @@ func CenteredForm(props CenteredFormProps) *h.Element {
|
||||||
h.Class("flex flex-col gap-4"),
|
h.Class("flex flex-col gap-4"),
|
||||||
h.Children(props.Children...),
|
h.Children(props.Children...),
|
||||||
// Error message
|
// Error message
|
||||||
components.FormError(""),
|
FormError(""),
|
||||||
// Submit button at the bottom
|
// Submit button at the bottom
|
||||||
SubmitButton(props.SubmitText),
|
SubmitButton(props.SubmitText),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue