diff --git a/internal/tui/forms.go b/internal/tui/forms.go index 015915a..27eb280 100644 --- a/internal/tui/forms.go +++ b/internal/tui/forms.go @@ -241,10 +241,6 @@ func (f *form) focusOnly(i int) { // error inline without closing the form. type formSubmitErr string -func submitErr(err error) tea.Cmd { - return func() tea.Msg { return formSubmitErr(err.Error()) } -} - // ============================================================= // Specific forms. // ============================================================= diff --git a/internal/tui/styles.go b/internal/tui/styles.go index d9329c1..9270171 100644 --- a/internal/tui/styles.go +++ b/internal/tui/styles.go @@ -73,9 +73,3 @@ func renderState(s string) string { } } -func renderLive(live bool) string { - if live { - return stateUpStyle.Render("● live") - } - return stateDownStyle.Render("● dead") -}