Skip to content

Commit

Permalink
fix: remove error example
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Sep 11, 2024
1 parent eb7089a commit f2edefa
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/zeiss/fiber-htmx/components/swap"
"github.com/zeiss/fiber-htmx/components/tables"
"github.com/zeiss/fiber-htmx/components/tailwind"
"github.com/zeiss/fiber-htmx/components/toasts"
"github.com/zeiss/fiber-htmx/components/utils"
"github.com/zeiss/fiber-htmx/sse"
"github.com/zeiss/pkg/server"
Expand Down Expand Up @@ -396,23 +395,6 @@ func (c *exampleController) Get() error {
),
),
),
htmx.Div(
toasts.Toast(
toasts.ToastProps{},
toasts.ToastAlertInfo(
toasts.ToastProps{},
htmx.Text("message 1"),
),
toasts.ToastAlertInfo(
toasts.ToastProps{},
htmx.Text("message 2"),
),
toasts.ToastAlertInfo(
toasts.ToastProps{},
htmx.Text("message 3"),
),
),
),
htmx.Fallback(htmx.Markdown([]byte("## Hello, Markdown!")), func(err error) htmx.Node {
return htmx.Text("Fallback")
}),
Expand Down

0 comments on commit f2edefa

Please sign in to comment.