Skip to content

Commit e01e316

Browse files
committed
impv: use interface function for question
1 parent d6dc1aa commit e01e316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/weaveinit/run_l1_node.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ func (m *RunL1NodeNetworkSelect) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
6767

6868
func (m *RunL1NodeNetworkSelect) View() string {
6969
view := m.state.weave.PreviousResponse + styles.RenderPrompt(
70-
"Which network will your node participate in?\n",
70+
m.GetQuestion(),
7171
[]string{},
7272
styles.Question,
73-
)
73+
) + "\n"
7474
for i, option := range m.Options {
7575
if i == m.Cursor {
7676
view += "(■) " + string(option) + "\n"

0 commit comments

Comments
 (0)