diff --git a/client/lib/tui.go b/client/lib/tui.go index 408ef90..adb41c7 100644 --- a/client/lib/tui.go +++ b/client/lib/tui.go @@ -28,8 +28,6 @@ var baseStyle = lipgloss.NewStyle(). BorderStyle(lipgloss.NormalBorder()). BorderForeground(lipgloss.Color("240")) -type errMsg error - type model struct { // context ctx *context.Context @@ -151,9 +149,6 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.WindowSizeMsg: m = runQueryAndUpdateTable(m, true) return m, nil - case errMsg: - m.fatalErr = msg - return m, nil case offlineMsg: m.isOffline = true return m, nil