remove add task test

This commit is contained in:
maddalax 2024-09-25 11:59:09 -05:00
parent 24c677094a
commit 2b970ea49a

View file

@ -1,7 +1,6 @@
package pages
import (
"github.com/maddalax/htmgo/framework/js"
"todolist/pages/base"
"todolist/partials/task"
@ -20,12 +19,6 @@ func TaskListPage(ctx *h.RequestContext) *h.Page {
h.Div(
h.Class("flex flex-col gap-6 p-4 items-center max-w-xl mx-auto pb-12"),
title,
h.Button(
h.Text("Add Task"),
h.OnClick(
js.InjectScript("https://htmgo.dev"),
),
),
task.Card(ctx),
h.Children(
h.Div(h.Text("Double-click to edit a todo")),