From 19b700b676516c35146aba1a568bb3817c22d91d Mon Sep 17 00:00:00 2001 From: maddalax Date: Sun, 20 Oct 2024 07:56:26 -0500 Subject: [PATCH] small fix --- examples/simple-auth/ui/login.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/simple-auth/ui/login.go b/examples/simple-auth/ui/login.go index 1c18b7d..93a2d97 100644 --- a/examples/simple-auth/ui/login.go +++ b/examples/simple-auth/ui/login.go @@ -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), ),