diff --git a/timer/timer.go b/timer/timer.go index 2a9870c..378da64 100644 --- a/timer/timer.go +++ b/timer/timer.go @@ -99,9 +99,10 @@ type Model struct { // New creates a new timer with the given timeout and default 1s interval. func New(timeout time.Duration, opts ...Option) Model { m := Model{ - Timeout: timeout, - running: true, - id: nextID(), + Timeout: timeout, + Interval: time.Second, + running: true, + id: nextID(), } for _, opt := range opts { opt(&m)