Delete unused msg type

This commit is contained in:
David Dworken 2022-11-27 09:03:12 -08:00
parent 5249ee6709
commit 369e7ec8ea
No known key found for this signature in database

View File

@ -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