refactor!: restore bubbletea model interface

This commit is contained in:
Ayman Bagabas
2025-02-04 13:01:13 -05:00
parent edbb81c136
commit 061e464a70
7 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -182,8 +182,8 @@ func New(opts ...Option) Model {
}
// Init exists to satisfy the tea.Model interface.
func (m Model) Init() (Model, tea.Cmd) {
return m, nil
func (m Model) Init() tea.Cmd {
return nil
}
// Update is used to animate the progress bar during transitions. Use