diff --git a/templates/toast.templ b/templates/toast.templ index 72af531..4e10df9 100644 --- a/templates/toast.templ +++ b/templates/toast.templ @@ -2,6 +2,6 @@ package templates templ ErrorToast(message string) { if message != "" { -
+
} } diff --git a/templates/toast_templ.go b/templates/toast_templ.go index c5e4476..84b0d23 100644 --- a/templates/toast_templ.go +++ b/templates/toast_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.1001 +// templ: version: v0.3.1020 package templates //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -30,7 +30,20 @@ func ErrorToast(message string) templ.Component { } ctx = templ.ClearChildren(ctx) if message != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }