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
@@ -134,8 +134,8 @@ func (m Model) Timedout() bool {
}
// Init starts the timer.
func (m Model) Init() (Model, tea.Cmd) {
return m, m.tick()
func (m Model) Init() tea.Cmd {
return m.tick()
}
// Update handles the timer tick.