mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-22 22:28:51 +01:00
Delete unused msg type
This commit is contained in:
parent
5249ee6709
commit
369e7ec8ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user