From 8acdfc216d4efed3eee4124db89991fc95eeb5ba Mon Sep 17 00:00:00 2001 From: StarFleetCPTN Date: Mon, 7 Apr 2025 11:32:58 -0700 Subject: [PATCH] refactor: Remove check location buttons from local destination and source forms - Eliminated the "Check Location" button from both LocalDestinationForm and LocalSourceForm templates to streamline the user interface. - This change simplifies the forms by removing unnecessary elements, enhancing overall usability. --- components/providers/destination/local.templ | 10 ---------- components/providers/source/local.templ | 10 ---------- components/shared/toast/toast_js_templ.go | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/components/providers/destination/local.templ b/components/providers/destination/local.templ index dc7c080..88ce746 100644 --- a/components/providers/destination/local.templ +++ b/components/providers/destination/local.templ @@ -27,15 +27,5 @@ templ LocalDestinationForm() { - } diff --git a/components/providers/source/local.templ b/components/providers/source/local.templ index 0529b52..05024e2 100644 --- a/components/providers/source/local.templ +++ b/components/providers/source/local.templ @@ -27,15 +27,5 @@ templ LocalSourceForm() { - } diff --git a/components/shared/toast/toast_js_templ.go b/components/shared/toast/toast_js_templ.go index f529c01..8329ab6 100644 --- a/components/shared/toast/toast_js_templ.go +++ b/components/shared/toast/toast_js_templ.go @@ -29,7 +29,7 @@ func ShowToastJS() templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }