fix(hero): Use hx-swap for primary button to prevent flicker

This commit is contained in:
Prad Nukala
2024-10-01 17:58:05 -04:00
parent 730cda4390
commit ab33d8235f
6 changed files with 11 additions and 51 deletions
@@ -59,14 +59,6 @@ func View(c echo.Context) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
templ_7745c5c3_Err = blocks.H2("Account Registration").Render(ctx, templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(" ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
templ_7745c5c3_Err = blocks.Spacer().Render(ctx, templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err