From f2edefa20641a0313149bd18d8c54330c5b7d384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ll?= Date: Wed, 11 Sep 2024 11:04:23 +0000 Subject: [PATCH] fix: remove error example --- examples/main.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/examples/main.go b/examples/main.go index d4a09cc..6e7c4b5 100644 --- a/examples/main.go +++ b/examples/main.go @@ -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" @@ -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") }),