From 6c9c1eb8eb77c238527239e056af14814b9833ff Mon Sep 17 00:00:00 2001 From: Christoper Hans <4262799+ChrHan@users.noreply.github.com> Date: Sat, 24 Sep 2022 16:35:34 +0700 Subject: [PATCH] chore(confirm): remove inefficient assignment --- confirm/confirm.go | 1 - 1 file changed, 1 deletion(-) diff --git a/confirm/confirm.go b/confirm/confirm.go index 62ad053..ff744d8 100644 --- a/confirm/confirm.go +++ b/confirm/confirm.go @@ -51,7 +51,6 @@ func (m model) Init() tea.Cmd { if m.timeout > 0 { return tick() } - m.defaultSelection = m.confirmation return nil }