deserki
This commit is contained in:
parent
ef48719cf5
commit
c489aa7f3d
6 changed files with 16 additions and 6 deletions
|
|
@ -107,7 +107,7 @@ func card(product types.Product) templ.Component {
|
|||
})
|
||||
}
|
||||
|
||||
func WyrobyCiasta(products []types.Product) templ.Component {
|
||||
func Wyroby(products []types.Product, page string) templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
|
||||
if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil {
|
||||
|
|
@ -144,7 +144,7 @@ func WyrobyCiasta(products []types.Product) templ.Component {
|
|||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
templ_7745c5c3_Err = wyrobyHeader("wyroby").Render(ctx, templ_7745c5c3_Buffer)
|
||||
templ_7745c5c3_Err = wyrobyHeader(page).Render(ctx, templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue